Documentation ¶
Index ¶
Constants ¶
View Source
const ( // LevelAll enables all logs. LevelAll = iota // LevelDebug logs are usually disabled in production. LevelDebug // LevelInfo is the default logging priority. LevelInfo // LevelWarn . LevelWarn // LevelError . LevelError // LevelNone disables all logs. LevelNone )
Variables ¶
Functions ¶
func Debug ¶
func Debug(format string, v ...interface{})
Debug uses DefaultLogger to log a message at LevelDebug.
func Error ¶
func Error(format string, v ...interface{})
Error uses DefaultLogger to log a message at LevelError.
Types ¶
Click to show internal directories.
Click to hide internal directories.