Named appends the name to the set names on the logger.
(name string)
| 136 | // Named appends the name to the set names |
| 137 | // on the logger. |
| 138 | func (l Logger) Named(name string) Logger { |
| 139 | l.names = appendNames(l.names, name) |
| 140 | return l |
| 141 | } |
| 142 | |
| 143 | // Leveled returns a Logger that only logs entries |
| 144 | // equal to or above the given level. |