File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -36,9 +36,9 @@ const (
3636 envLoggingFile = "GOLOG_FILE" // /path/to/file
3737 envLoggingURL = "GOLOG_URL" // url that will be processed by sink in the zap
3838
39- envLoggingOutput = "GOLOG_OUTPUT" // possible values: stdout|stderr|file combine multiple values with '+'
40- envLoggingLabels = "GOLOG_LOG_LABELS" // comma-separated key-value pairs, i.e. "app=example_app,dc=sjc-1"
41- envCaptureSlog = "GOLOG_CAPTURE_DEFAULT_SLOG" // set to "false" to disable routing slog logs through go-log's zap core
39+ envLoggingOutput = "GOLOG_OUTPUT" // possible values: stdout|stderr|file combine multiple values with '+'
40+ envLoggingLabels = "GOLOG_LOG_LABELS" // comma-separated key-value pairs, i.e. "app=example_app,dc=sjc-1"
41+ envCaptureSlog = "GOLOG_CAPTURE_DEFAULT_SLOG" // set to "false" to disable routing slog logs through go-log's zap core
4242)
4343
4444type LogFormat int
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ func (h *zapToSlogBridge) WithGroup(name string) slog.Handler {
199199 return & zapToSlogBridge {
200200 core : h .core ,
201201 subsystemName : h .subsystemName , // Preserve subsystem
202- fields : h .fields , // Preserve fields
202+ fields : h .fields , // Preserve fields
203203 }
204204}
205205
You can’t perform that action at this time.
0 commit comments