Skip to content

Commit

Permalink
fix(slog): use defaultIntOptions that match the SLoggerOptions defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
samlaf committed Jul 23, 2024
1 parent 13691a7 commit 493808c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions logging/slog_logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ type SLoggerOptions struct {
// default SLogger options are used when no options are provided
// they are the development options (debug logs with source)
var defaultTintOptions = tint.Options{
AddSource: true,
Level: slog.LevelDebug,
AddSource: false,
Level: slog.LevelInfo,
ReplaceAttr: nil,
TimeFormat: time.StampMilli,
NoColor: false,
Expand Down

0 comments on commit 493808c

Please sign in to comment.