Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory interface { WithVerbose() Factory WithFormatText() Factory WithFormatJSON() Factory WithCallerReporting() Factory WithFields(fields Fields) Factory WithField(key string, value interface{}) Factory Get() Logger }
Factory abstraction for log instance configuration
type Logger ¶
type Logger interface { Debug(_ ...interface{}) Print(_ ...interface{}) Info(_ ...interface{}) Warn(_ ...interface{}) Warning(_ ...interface{}) Error(_ ...interface{}) Fatal(_ ...interface{}) Panic(_ ...interface{}) Debugf(_ string, _ ...interface{}) Infof(_ string, _ ...interface{}) Printf(_ string, _ ...interface{}) Warnf(_ string, _ ...interface{}) Warningf(_ string, _ ...interface{}) Errorf(_ string, _ ...interface{}) Fatalf(_ string, _ ...interface{}) Panicf(_ string, _ ...interface{}) Debugln(_ ...interface{}) Infoln(_ ...interface{}) Println(_ ...interface{}) Warnln(_ ...interface{}) Warningln(_ ...interface{}) Errorln(_ ...interface{}) Fatalln(_ ...interface{}) Panicln(_ ...interface{}) }
Logger log abstraction
func NewNullLogger ¶
func NewNullLogger() Logger
NewNullLogger returns a logger that does log anything
Click to show internal directories.
Click to hide internal directories.