Skip to content

Commit

Permalink
dont refer to verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewWinterman committed Oct 9, 2024
1 parent 1fa4196 commit 51c7b6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/olog/default_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func determineMainModule() {
// is a `slog.TextHandler`. Otherwise, the default handler is the
// `slog.JSONHandler`.
func determineDefaultHandler() {
if testing.Testing() && testing.Verbose() {
if testing.Testing() {
defaultHandler.Store(int32(TextHandler))
return
}
Expand Down

0 comments on commit 51c7b6b

Please sign in to comment.