Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EmptyLogger ¶
type EmptyLogger struct{}
func (*EmptyLogger) Log ¶
func (l *EmptyLogger) Log(keyvals ...interface{}) error
type Level ¶
type Level int
A Level is a logging priority. Higher levels are more important.
const ( // LevelDebug logs are typically voluminous, and are usually disabled in // production. LevelDebug Level = iota // LevelInfo is the default logging priority. LevelInfo // LevelWarn logs are more important than Info, but don't need individual // human review. LevelWarn // LevelError logs are high-priority. If an application is running smoothly, // it shouldn't generate any error-level logs. LevelError )
Click to show internal directories.
Click to hide internal directories.