Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface {
Debugf(string, ...interface{})
Infof(string, ...interface{})
Warnf(string, ...interface{})
Errorf(string, ...interface{})
DPanicf(string, ...interface{})
Panicf(string, ...interface{})
Fatalf(string, ...interface{})
Debugc(context.Context, string, ...interface{})
Infoc(context.Context, string, ...interface{})
Warnc(context.Context, string, ...interface{})
Errorc(context.Context, string, ...interface{})
DPanicc(context.Context, string, ...interface{})
Panicc(context.Context, string, ...interface{})
Fatalc(context.Context, string, ...interface{})
}
var Log Logger
func NewNullLogger ¶
func NewNullLogger() Logger
type LoggerOptions ¶
type LoggerOptions struct{}
func (LoggerOptions) WithDebug ¶
func (LoggerOptions) WithDebug(debug bool) Option
Click to show internal directories.
Click to hide internal directories.