Documentation
¶
Index ¶
- func AddFileOutput(logPath string) error
- func Debug(msg string, fields Fields)
- func DebugN(msg string)
- func Error(msg string, err error, fields Fields)
- func ErrorN(msg string, err error)
- func Fatal(msg string, err error, fields Fields)
- func FatalN(msg string, err error)
- func GetLogger() *zerolog.Logger
- func Info(msg string, fields Fields)
- func InfoN(msg string)
- func SetLogLevel(level zerolog.Level)
- func Warn(msg string, fields Fields)
- func WarnN(msg string)
- func WithFields(fields Fields) *zerolog.Logger
- type Fields
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithFields ¶
WithFields creates a new logger with the given fields
Types ¶
Click to show internal directories.
Click to hide internal directories.