sirupsen / logrus

Structured, pluggable logging for Go.
MIT License
24.8k stars 2.27k forks source link

How to Access IsDebugEnabled in FieldLogger? #1392

Closed gauravjeswani closed 1 year 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 1 year ago

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

github-actions[bot] commented 1 year ago

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