diff --git a/pkg/logging/logger.go b/pkg/logging/logger.go index 26ac743..4c4d671 100644 --- a/pkg/logging/logger.go +++ b/pkg/logging/logger.go @@ -64,7 +64,8 @@ func DefaultConfig() Config { } } -// New creates a new Logger with the given configuration. +// New creates a Logger with the given configuration. +// logger := logging.New(logging.Config{Output: os.Stderr, Level: logging.LevelInfo, Component: "mining"}) func New(cfg Config) *Logger { if cfg.Output == nil { cfg.Output = os.Stderr