Skip to content

Commit 427bfe2

Browse files
authored
[+] make fallback logger use default options (#620)
1 parent 87fb281 commit 427bfe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/log/log.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ func WithLogger(ctx context.Context, logger LoggerIface) context.Context {
112112
}
113113

114114
// FallbackLogger is an alias for the standard logger
115-
var FallbackLogger = logrus.StandardLogger()
115+
var FallbackLogger = Init(CmdOpts{})
116116

117117
// GetLogger retrieves the current logger from the context. If no logger is
118118
// available, the default logger is returned

0 commit comments

Comments
 (0)