Documentation ¶ Index ¶ type Logger func NewLogger(out io.Writer, debug bool) *Logger func (l *Logger) Debug(format string, v ...interface{}) func (l *Logger) Error(format string, v ...interface{}) func (l *Logger) Info(format string, v ...interface{}) func (l *Logger) Warning(format string, v ...interface{}) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Logger ¶ type Logger struct { DebugEnabled bool Out io.Writer // contains filtered or unexported fields } func NewLogger ¶ func NewLogger(out io.Writer, debug bool) *Logger func (*Logger) Debug ¶ func (l *Logger) Debug(format string, v ...interface{}) func (*Logger) Error ¶ func (l *Logger) Error(format string, v ...interface{}) func (*Logger) Info ¶ func (l *Logger) Info(format string, v ...interface{}) func (*Logger) Warning ¶ func (l *Logger) Warning(format string, v ...interface{}) Source Files ¶ View all Source files logger.go Click to show internal directories. Click to hide internal directories.