We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Text
JSON
1 parent b06f0b4 commit 375c866Copy full SHA for 375c866
config.go
@@ -47,7 +47,7 @@ func ConfigFromEnvironment() (Config, error) {
47
return nil, err
48
}
49
50
- return *slog.New(slog.NewTextHandler(os.Stdout, &slog.HandlerOptions{
+ return *slog.New(slog.NewJSONHandler(os.Stdout, &slog.HandlerOptions{
51
Level: level,
52
})), nil
53
},
0 commit comments