Documentation ¶
Index ¶
Constants ¶
View Source
const (
LabelTag = "tag"
)
LabelTag Enumeration of Label.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger interface { CloneLogger() Logger AppendOutput(output) SetLabel(label string, value string) Debug(format string, args ...interface{}) Info(format string, args ...interface{}) Notice(format string, args ...interface{}) Warn(format string, args ...interface{}) Error(format string, args ...interface{}) Critical(format string, args ...interface{}) // contains filtered or unexported methods }
Logger defines the logger interface.
func NewLoggerTag ¶
NewLoggerTag returns a new logger.
Click to show internal directories.
Click to hide internal directories.