Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debug ¶
func Debug(message ...interface{})
Debug logs a message at level Debug on the standard logger.
func Fatal ¶
func Fatal(message ...interface{})
Fatal logs a message at level Fatal on the standard logger then the process will exit with status set to 1.
Types ¶
type Logger ¶
type Logger interface { Debug(...interface{}) Warn(...interface{}) Fatal(...interface{}) }
Logger is a interface for creating standard logging calls. This will enable depended code log.Debug("Woot") Avoid all other packages from declaring their own loggers This strategy enables simple change of the backend logger
Click to show internal directories.
Click to hide internal directories.