Documentation ¶
Overview ¶
Package std is the implementation of the logger interface with the standard log package.
Index ¶
- type Logger
- func (l *Logger) Debug(args ...interface{})
- func (l *Logger) Debugf(msg string, args ...interface{})
- func (l *Logger) Error(args ...interface{})
- func (l *Logger) Errorf(msg string, args ...interface{})
- func (l *Logger) Fatal(args ...interface{})
- func (l *Logger) Fatalf(msg string, args ...interface{})
- func (l *Logger) Info(args ...interface{})
- func (l *Logger) Infof(msg string, args ...interface{})
- func (l *Logger) Level() patronLog.Level
- func (l *Logger) Panic(args ...interface{})
- func (l *Logger) Panicf(msg string, args ...interface{})
- func (l *Logger) Sub(fields map[string]interface{}) patronLog.Logger
- func (l *Logger) Warn(args ...interface{})
- func (l *Logger) Warnf(msg string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger implementation of the std log.
func NewWithFlags ¶ added in v0.57.0
func NewWithFlags(out io.Writer, lvl patronLog.Level, fields map[string]interface{}, flags int) *Logger
NewWithFlags constructor.
Click to show internal directories.
Click to hide internal directories.