Documentation ¶
Index ¶
Constants ¶
View Source
const ( NONE = iota TRACE DEBUG INFO WARN ERROR )
View Source
const (
LogContextKey contextKey = iota
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { Tracef(format string, v ...interface{}) Debugf(format string, v ...interface{}) Infof(format string, v ...interface{}) Warnf(format string, v ...interface{}) Errorf(format string, v ...interface{}) Trace(v ...interface{}) Debug(v ...interface{}) Info(v ...interface{}) Warn(v ...interface{}) Error(v ...interface{}) C(ctx context.Context) Logger }
Click to show internal directories.
Click to hide internal directories.