AddCaller configures the Logger to annotate each message with the filename, line number, and function name of zap's caller. See also WithCaller.
()
| 89 | // AddCaller configures the Logger to annotate each message with the filename, |
| 90 | // line number, and function name of zap's caller. See also WithCaller. |
| 91 | func AddCaller() Option { |
| 92 | return WithCaller(true) |
| 93 | } |
| 94 | |
| 95 | // WithCaller configures the Logger to annotate each message with the filename, |
| 96 | // line number, and function name of zap's caller, or not, depending on the |