Documentation ¶
Index ¶
- func Debugf(format string, args ...interface{})
- func Errorf(format string, args ...interface{})
- func Fatalf(format string, args ...interface{})
- func Info(format string)
- func Infof(format string, args ...interface{})
- func Panicf(format string, args ...interface{})
- func SetLevel(v Verbosity)
- func SetLoggerImpl(newLogger Logger)
- func Warningf(format string, args ...interface{})
- type Logger
- type StandardGolangLogger
- func (l *StandardGolangLogger) Debugf(format string, args ...interface{})
- func (l *StandardGolangLogger) Errorf(format string, args ...interface{})
- func (l *StandardGolangLogger) Fatalf(format string, args ...interface{})
- func (l *StandardGolangLogger) Info(format string)
- func (l *StandardGolangLogger) Infof(format string, args ...interface{})
- func (l *StandardGolangLogger) Panicf(format string, args ...interface{})
- func (l *StandardGolangLogger) Warningf(format string, args ...interface{})
- type Verbosity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetLoggerImpl ¶
func SetLoggerImpl(newLogger Logger)
SetLoggerImpl lets you override the Logger implementation. Calls are not thread-safe, so set this first thing.
Types ¶
type Logger ¶
type Logger interface { Debugf(format string, args ...interface{}) Infof(format string, args ...interface{}) Info(format string) Warningf(format string, args ...interface{}) Errorf(format string, args ...interface{}) Fatalf(format string, args ...interface{}) Panicf(format string, args ...interface{}) }
type StandardGolangLogger ¶
type StandardGolangLogger struct {
VerbosityLevel Verbosity
}
func (*StandardGolangLogger) Debugf ¶
func (l *StandardGolangLogger) Debugf(format string, args ...interface{})
func (*StandardGolangLogger) Errorf ¶
func (l *StandardGolangLogger) Errorf(format string, args ...interface{})
func (*StandardGolangLogger) Fatalf ¶
func (l *StandardGolangLogger) Fatalf(format string, args ...interface{})
func (*StandardGolangLogger) Info ¶
func (l *StandardGolangLogger) Info(format string)
func (*StandardGolangLogger) Infof ¶
func (l *StandardGolangLogger) Infof(format string, args ...interface{})
func (*StandardGolangLogger) Panicf ¶
func (l *StandardGolangLogger) Panicf(format string, args ...interface{})
func (*StandardGolangLogger) Warningf ¶
func (l *StandardGolangLogger) Warningf(format string, args ...interface{})
Click to show internal directories.
Click to hide internal directories.