Documentation ¶
Index ¶
- func Debug(msg string, keysAndValues ...interface{})
- func Error(msg string, keysAndValues ...interface{})
- func Info(msg string, keysAndValues ...interface{})
- func Named(name string) *zap.SugaredLogger
- func SetDebug()
- func SetError()
- func SetInfo()
- func SetWarn()
- func Warn(msg string, keysAndValues ...interface{})
- func With(keysAndValues ...interface{}) *zap.SugaredLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debug ¶
func Debug(msg string, keysAndValues ...interface{})
Debug logs a message with some additional context with variadic key-value pairs.
func Error ¶
func Error(msg string, keysAndValues ...interface{})
Error logs a message with some additional context with variadic key-value pairs.
func Info ¶
func Info(msg string, keysAndValues ...interface{})
Info logs a message with some additional context with variadic key-value pairs.
func Warn ¶
func Warn(msg string, keysAndValues ...interface{})
Warn logs a message with some additional context with variadic key-value pairs.
func With ¶
func With(keysAndValues ...interface{}) *zap.SugaredLogger
With returns a logger with the given structured context
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.