sirupsen / logrus

Structured, pluggable logging for Go.
MIT License
24.3k stars 2.26k forks source link

How to Access IsDebugEnabled in FieldLogger? #1392

Closed gauravjeswani closed 10 months ago

gauravjeswani commented 1 year ago

In FieldLogger Interface is*Enabled method are commented. How I can access these methods?

diPhantxm commented 1 year ago

Hi. I'm not a maintainter of this repo, but I saw nobody helped you. As far as I see, those methods were substituted with func (logger *Logger) IsLevelEnabled(level Level) bool I think you can use this method passing level you need

github-actions[bot] commented 11 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 10 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.