Skip to content

Commit

Permalink
modify
Browse files Browse the repository at this point in the history
  • Loading branch information
npumaster committed May 5, 2023
1 parent eceb45e commit b996d38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler/console.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func NewConsole(levels []slog.Level) *ConsoleHandler {
// NewConsoleHandler create new ConsoleHandler
func NewConsoleHandler(levels []slog.Level) *ConsoleHandler {
h := &ConsoleHandler{
IOWriterHandler: *NewIOWriterHandler(os.Stdout, levels),
IOWriterHandler: *NewIOWriterHandler(os.Stderr, levels),
}

// create new formatter
Expand Down

0 comments on commit b996d38

Please sign in to comment.