Documentation
¶
Index ¶
Constants ¶
View Source
const Elapsed = "Elapsed"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Admin ¶
type Config ¶
type Config struct {
// AdminLogLevel is "debug", "info", "warn", or "error".
AdminLogLevel string
// AdminLogVerbose: set to include full context with admin log messages.
AdminLogVerbose bool
}
func (Config) ToStorableConfig ¶
type LogContext ¶
type LogContext map[string]interface{}
type Logger ¶
type Logger interface {
With(LogContext) Logger
Timed() Logger
Debugf(format string, args ...interface{})
Errorf(format string, args ...interface{})
Infof(format string, args ...interface{})
Warnf(format string, args ...interface{})
}
func NewNilLogger ¶
func NewNilLogger() Logger
func NewTestLogger ¶
func NewTestLogger() Logger
Click to show internal directories.
Click to hide internal directories.