Skip to content

Commit d2eefb2

Browse files
committed
chore: go fmt
1 parent 689c970 commit d2eefb2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

setup.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

4444
type LogFormat int

slog_bridge.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)