Documentation ¶
Index ¶
- Variables
- func Debug(s ...interface{})
- func Debugf(t string, s ...interface{})
- func Error(s ...interface{})
- func Errorf(t string, s ...interface{})
- func Fatal(s ...interface{})
- func Fatalf(t string, s ...interface{})
- func Info(s ...interface{})
- func Infof(t string, s ...interface{})
- func NewConsoleOutput() zerolog.ConsoleWriter
- func SetGlobal(l *Logger)
- func SetLevel(level string)
- func Warn(s ...interface{})
- func Warnf(t string, s ...interface{})
- func Writer() io.Writer
- type Logger
- func (a *Logger) Debug(s ...interface{})
- func (a *Logger) Debugf(t string, s ...interface{})
- func (a *Logger) Error(s ...interface{})
- func (a *Logger) Errorf(t string, s ...interface{})
- func (a *Logger) Fatal(s ...interface{})
- func (a *Logger) Fatalf(t string, s ...interface{})
- func (a *Logger) GetLogger(category string, writers ...io.Writer) *Logger
- func (a *Logger) Info(s ...interface{})
- func (a *Logger) Infof(t string, s ...interface{})
- func (a *Logger) SetLevel(level string)
- func (a *Logger) Warn(s ...interface{})
- func (a *Logger) Warnf(t string, s ...interface{})
- func (a *Logger) Write(p []byte) (int, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // CallerSkipFrameCount caller skip frame count CallerSkipFrameCount = 4 WriterDefaultLevel = zerolog.InfoLevel )
Functions ¶
func NewConsoleOutput ¶
func NewConsoleOutput() zerolog.ConsoleWriter
Types ¶
Click to show internal directories.
Click to hide internal directories.