Documentation ¶ Index ¶ func Debug(message string, keyValues ...interface{}) func Error(message string, keyValues ...interface{}) func Info(message string, keyValues ...interface{}) func InitDefaultLogger(logType LogType, logLevel LogLevel) func Warn(message string, keyValues ...interface{}) type LogLevel type LogType Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Debug ¶ func Debug(message string, keyValues ...interface{}) func Error ¶ func Error(message string, keyValues ...interface{}) func Info ¶ func Info(message string, keyValues ...interface{}) func InitDefaultLogger ¶ func InitDefaultLogger(logType LogType, logLevel LogLevel) func Warn ¶ func Warn(message string, keyValues ...interface{}) Types ¶ type LogLevel ¶ type LogLevel int const ( LogLevelDebug LogLevel = iota LogLevelInfo LogLevelWarn LogLevelError ) type LogType ¶ type LogType int const ( LogTypeZap LogType = iota LogTypeConsole ) Source Files ¶ View all Source files console.go interface.go log_level.go log_type.go logger.go zap.go Click to show internal directories. Click to hide internal directories.