Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debugf ¶
func Debugf(fmt string, inf ...interface{})
Debugf writes formatted debug level messages using the package logger
func Infof ¶
func Infof(fmt string, inf ...interface{})
Infof writes formatted info level messages with the package logger
Types ¶
type Logger ¶
type Logger interface { Info(string) Infof(string, ...interface{}) Debug(string) Debugf(string, ...interface{}) IsDebug() bool }
Logger is a simple interface that handles Info and Debug logging
func NewDebugLogger ¶ added in v1.2.0
func NewDebugLogger() Logger
func NewNilLogger ¶ added in v1.2.0
func NewNilLogger() Logger
Click to show internal directories.
Click to hide internal directories.