Skip to content

Commit a2b1827

Browse files
committed
fix: initialize global logger with Info log level
1 parent a5943f1 commit a2b1827

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

log/logger.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,10 @@ type Label struct {
6060
color string
6161
}
6262

63-
// Init initializes the global logger
63+
// Init initializes the global logger and sets the log level to Info.
6464
func Init(name string) {
6565
log = NewLogger(name)
66+
log.SetLevel(logrus.InfoLevel)
6667
}
6768

6869
// Notify logs a message using a specified or global logger.

0 commit comments

Comments
 (0)