Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Console ¶ added in v0.0.7
type Console interface { Debugln(_ ...interface{}) Infoln(_ ...interface{}) Println(_ ...interface{}) Warnln(_ ...interface{}) Warningln(_ ...interface{}) Errorln(_ ...interface{}) Fatalln(_ ...interface{}) Panicln(_ ...interface{}) }
Console log abstraction
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 Format ¶ added in v0.0.7
type Format 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{}) }
Format log abstraction
type FormatLogger ¶ added in v0.0.7
FormatLogger log abstraction
type FullLogger ¶ added in v0.0.7
FullLogger log abstraction
func NewNullLogger ¶
func NewNullLogger() FullLogger
NewNullLogger returns a logger that does log anything
Click to show internal directories.
Click to hide internal directories.