Documentation
¶
Overview ¶
Package log provides a global logger with zerolog.
Index ¶
- Variables
- func Debug(entry string)
- func Debugf(format string, v ...interface{})
- func Error(entry string)
- func Errorf(format string, v ...interface{})
- func Fatal(entry string)
- func Fatalf(format string, v ...interface{})
- func Info(entry string)
- func Infof(format string, v ...interface{})
- func NewStd() *stdlog.Logger
- func Print(v ...interface{})
- func Printf(format string, v ...interface{})
- func Warn(entry string)
- func Warnf(format string, v ...interface{})
- func WithCaller(name string)
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger zerolog.Logger
Logger is the global logger.
Functions ¶
func Print ¶
func Print(v ...interface{})
Print sends a log event using debug level and no extra field. Arguments are handled in the manner of fmt.Print.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.