Documentation ¶
Overview ¶
Package banderlog is wrapper around zap logger that initialize stdout and JSON file logging.
Index ¶
- Constants
- type Log
- func (log *Log) Debugf(format string, keyVal ...any)
- func (log *Log) Debugw(format string, keyVal ...any)
- func (log *Log) Errorf(format string, keyVal ...any)
- func (log *Log) Errorw(format string, keyVal ...any)
- func (log *Log) Fatal(keyVal ...any)
- func (log *Log) Fatalf(format string, keyVal ...any)
- func (log *Log) Flush() error
- func (log *Log) Infof(format string, keyVal ...any)
- func (log *Log) Infow(format string, keyVal ...any)
- func (log *Log) Level() string
- func (log *Log) Print(keyVal ...any)
- func (log *Log) Printf(format string, keyVal ...any)
- func (log *Log) Println(keyVal ...any)
- func (log *Log) Warnf(format string, keyVal ...any)
- func (log *Log) Warnw(format string, keyVal ...any)
- func (log *Log) With(keyVal ...any)
Constants ¶
View Source
const ( DebugLevel = "DEBUG" InfoLevel = "INFO" WarnLevel = "WARN" ErrorLevel = "ERROR" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.