Documentation ¶
Index ¶
- func Clean(msg string) string
- func Debug(msg string, kv ...interface{})
- func Error(msg string, kv ...interface{})
- func Fatal(msg string, kv ...interface{})
- func GetLevel() zapcore.Level
- func Info(msg string, kv ...interface{})
- func Panic(msg string, kv ...interface{})
- func SetLevel(level string) error
- func Warn(msg string, kv ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debug ¶
func Debug(msg string, kv ...interface{})
Debug logs a debug message. Refer to: https://godoc.org/go.uber.org/zap for more details.
func Error ¶
func Error(msg string, kv ...interface{})
Error logs an error message. Refer to: https://godoc.org/go.uber.org/zap for more details.
func Fatal ¶
func Fatal(msg string, kv ...interface{})
Fatal logs a fatal message. Refer to: https://godoc.org/go.uber.org/zap for more details.
func Info ¶
func Info(msg string, kv ...interface{})
Info logs an info message. Refer to: https://godoc.org/go.uber.org/zap for more details.
func Panic ¶
func Panic(msg string, kv ...interface{})
Panic logs a panic message. Refer to: https://godoc.org/go.uber.org/zap for more details.
func SetLevel ¶
SetLevel sets the log level by specifying a string which can be any of: ["DEBUG", "INFO", "WARNING", "ERROR", "PANIC", "FATAL"], case-insensitive.
func Warn ¶
func Warn(msg string, kv ...interface{})
Warn logs a warning message. Refer to: https://godoc.org/go.uber.org/zap for more details.
Types ¶
This section is empty.