package
0.0.0-20230102014228-bc779d73d89d
Repository: https://github.com/bytehubplus/fusion.git
Documentation: pkg.go.dev

# Functions

Debug calls the default logger's Debug method.
Debugf calls the default logger's Debugf method.
DefaultLogger return the default.
Error calls the default logger's Error method.
Errorf calls the default logger's Errorf method.
Fatal calls the default logger's Fatal method and then os.Exit(1).
Fatalf calls the default logger's Fatalf method and then os.Exit(1).
Info calls the default logger's Info method.
Infof calls the default logger's Infof method.
Notice calls the default logger's Notice method.
Noticef calls the default logger's Noticef method.
SetLevel sets the level default log level is LevelTrace.
SetLogger sets the default loggerr.
SetOutput sets the output of default logger.
Trace calls the default logger's Trace method.
Tracef calls the default logger's Tracef method.
Warn calls the default logger's Warn method.
Warnf calls the default logger's Warnf method.

# Constants

the levels of logs.
the levels of logs.
the levels of logs.
the levels of logs.
the levels of logs.
the levels of logs.
the levels of logs.

# Interfaces

config a logger.
FormatLogger is a logger interface that output logs with a format.
combination of Logger, FormatLogger and Control.
Logger is a logger interface that output logs with levels.

# Type aliases

level defines log message when level is set,any log message with a lower log level will not be output.