Documentation ¶
Index ¶
Constants ¶
View Source
const ( LEVEL_TRACE logLevel = iota LEVEL_DEBUG logLevel = iota LEVEL_INFO logLevel = iota LEVEL_WARN logLevel = iota LEVEL_ERROR logLevel = iota )
View Source
const (
Noop = noop("")
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger interface { Trace(format string, args ...interface{}) Debug(format string, args ...interface{}) Info(format string, args ...interface{}) Warn(format string, args ...interface{}) Error(format string, args ...interface{}) Fatal(format string, args ...interface{}) }
var Default Logger = Basic(LEVEL_INFO)
func WithPrefix ¶
Click to show internal directories.
Click to hide internal directories.