Level reports the minimum enabled level for this logger. For NopLoggers, this is [zapcore.InvalidLevel].
()
| 212 | // |
| 213 | // For NopLoggers, this is [zapcore.InvalidLevel]. |
| 214 | func (log *Logger) Level() zapcore.Level { |
| 215 | return zapcore.LevelOf(log.core) |
| 216 | } |
| 217 | |
| 218 | // Check returns a CheckedEntry if logging a message at the specified level |
| 219 | // is enabled. It's a completely optional optimization; in high-performance |