Documentation ¶
Index ¶
- Variables
- type Level
- type LogPrinter
- func (l *LogPrinter) Debug(args ...interface{})
- func (l *LogPrinter) DebugDynamic(getStr func() string)
- func (l *LogPrinter) Debugf(format string, args ...interface{})
- func (l *LogPrinter) Debugw(msg string, keysAndValues ...interface{})
- func (l *LogPrinter) Error(args ...interface{})
- func (l *LogPrinter) Errorf(format string, args ...interface{})
- func (l *LogPrinter) Errorw(msg string, keysAndValues ...interface{})
- func (l *LogPrinter) Fatal(args ...interface{})
- func (l *LogPrinter) Fatalf(format string, args ...interface{})
- func (l *LogPrinter) Fatalw(msg string, keysAndValues ...interface{})
- func (l *LogPrinter) Info(args ...interface{})
- func (l *LogPrinter) InfoDynamic(getStr func() string)
- func (l *LogPrinter) Infof(format string, args ...interface{})
- func (l *LogPrinter) Infow(msg string, keysAndValues ...interface{})
- func (l *LogPrinter) Panic(args ...interface{})
- func (l *LogPrinter) Panicf(format string, args ...interface{})
- func (l *LogPrinter) Panicw(msg string, keysAndValues ...interface{})
- func (l *LogPrinter) Warn(args ...interface{})
- func (l *LogPrinter) Warnf(format string, args ...interface{})
- func (l *LogPrinter) Warnw(msg string, keysAndValues ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var NilLogger = &nilLogger{}
NilLogger is a nil implementation of Logger interface. It will log nothing.
Functions ¶
This section is empty.
Types ¶
type LogPrinter ¶
type LogPrinter struct {
Label string
}
func NewLogPrinter ¶
func NewLogPrinter(label string) *LogPrinter
func (*LogPrinter) Debug ¶
func (l *LogPrinter) Debug(args ...interface{})
func (*LogPrinter) DebugDynamic ¶
func (l *LogPrinter) DebugDynamic(getStr func() string)
func (*LogPrinter) Debugf ¶
func (l *LogPrinter) Debugf(format string, args ...interface{})
func (*LogPrinter) Debugw ¶
func (l *LogPrinter) Debugw(msg string, keysAndValues ...interface{})
func (*LogPrinter) Error ¶
func (l *LogPrinter) Error(args ...interface{})
func (*LogPrinter) Errorf ¶
func (l *LogPrinter) Errorf(format string, args ...interface{})
func (*LogPrinter) Errorw ¶
func (l *LogPrinter) Errorw(msg string, keysAndValues ...interface{})
func (*LogPrinter) Fatal ¶
func (l *LogPrinter) Fatal(args ...interface{})
func (*LogPrinter) Fatalf ¶
func (l *LogPrinter) Fatalf(format string, args ...interface{})
func (*LogPrinter) Fatalw ¶
func (l *LogPrinter) Fatalw(msg string, keysAndValues ...interface{})
func (*LogPrinter) Info ¶
func (l *LogPrinter) Info(args ...interface{})
func (*LogPrinter) InfoDynamic ¶
func (l *LogPrinter) InfoDynamic(getStr func() string)
func (*LogPrinter) Infof ¶
func (l *LogPrinter) Infof(format string, args ...interface{})
func (*LogPrinter) Infow ¶
func (l *LogPrinter) Infow(msg string, keysAndValues ...interface{})
func (*LogPrinter) Panic ¶
func (l *LogPrinter) Panic(args ...interface{})
func (*LogPrinter) Panicf ¶
func (l *LogPrinter) Panicf(format string, args ...interface{})
func (*LogPrinter) Panicw ¶
func (l *LogPrinter) Panicw(msg string, keysAndValues ...interface{})
func (*LogPrinter) Warn ¶
func (l *LogPrinter) Warn(args ...interface{})
func (*LogPrinter) Warnf ¶
func (l *LogPrinter) Warnf(format string, args ...interface{})
func (*LogPrinter) Warnw ¶
func (l *LogPrinter) Warnw(msg string, keysAndValues ...interface{})
Click to show internal directories.
Click to hide internal directories.