With creates a child logger with the field added to its context.
()
| 20 | |
| 21 | // With creates a child logger with the field added to its context. |
| 22 | func With() zerolog.Context { |
| 23 | return Logger.With() |
| 24 | } |
| 25 | |
| 26 | // Level creates a child logger with the minimum accepted level set to level. |
| 27 | func Level(level zerolog.Level) zerolog.Logger { |