add message describing default behavior
Victor Vrantchan
6 years ago
68 | 68 | |
69 | 69 | // New wraps the logger and implements level checking. See the commentary on the |
70 | 70 | // Option functions for a detailed description of how to configure levels. |
71 | // If no options are provided, all leveled log events created with level.Debug, | |
72 | // Info, Warn or Error helper methods will be squelched. | |
71 | 73 | func New(next log.Logger, options ...Option) log.Logger { |
72 | 74 | l := logger{ |
73 | 75 | next: next, |