Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitLogger ¶
func InitLogger(logger Logger)
Types ¶
type Logger ¶
type Logger interface { Debug(msg string, keysAndValues ...interface{}) Info(msg string, keysAndValues ...interface{}) Error(err error, msg string, keysAndValues ...interface{}) Fatal(err error, msg string, keysAndValues ...interface{}) WithValues(keysAndValues ...interface{}) Logger }
* Logger *
type LoggerConfig ¶
type LoggerConfig interface {
Level() LogLevel
}
* LoggerConfig *
func NewLoggerConfig ¶
func NewLoggerConfig(level LogLevel) (LoggerConfig, error)
Click to show internal directories.
Click to hide internal directories.