How can I customise the location in which the logs are sent to? #1111
Answered
by
juampynr
gsinhazscaler
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
juampynr
Jun 15, 2022
Replies: 1 comment
-
It's defined by a configuration option: See https://pkg.go.dev/go.uber.org/zap#example-package-BasicConfiguration for an example. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
abhinav
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's defined by a configuration option:
outputPaths
.See https://pkg.go.dev/go.uber.org/zap#example-package-BasicConfiguration for an example.
See https://pkg.go.dev/go.uber.org/zap#Config for a short description of
outputPaths
.