Skip to content

Commit 375c866

Browse files
authored
feat(logging): Replace Text logger with JSON (#20)
1 parent b06f0b4 commit 375c866

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func ConfigFromEnvironment() (Config, error) {
4747
return nil, err
4848
}
4949

50-
return *slog.New(slog.NewTextHandler(os.Stdout, &slog.HandlerOptions{
50+
return *slog.New(slog.NewJSONHandler(os.Stdout, &slog.HandlerOptions{
5151
Level: level,
5252
})), nil
5353
},

0 commit comments

Comments
 (0)