Documentation ¶
Index ¶
- type FDWriter
- type Logger
- func (l *Logger) Debug(v ...interface{})
- func (l *Logger) Debugf(format string, v ...interface{})
- func (l *Logger) Error(v ...interface{})
- func (l *Logger) Errorf(format string, v ...interface{})
- func (l *Logger) Fatal(v ...interface{})
- func (l *Logger) Fatalf(format string, v ...interface{})
- func (l *Logger) Info(v ...interface{})
- func (l *Logger) Infof(format string, v ...interface{})
- func (l *Logger) Warn(v ...interface{})
- func (l *Logger) Warnf(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 {
// contains filtered or unexported fields
}
Logger struct definition
func New ¶
New returns new Logger instance with predefined writer output and automatically detect terminal coloring support
func (*Logger) Debug ¶
func (l *Logger) Debug(v ...interface{})
Debug print debug message to output if debug output enabled
func (*Logger) Fatal ¶
func (l *Logger) Fatal(v ...interface{})
Fatal print fatal message to output and then exit(1)
func (*Logger) Info ¶
func (l *Logger) Info(v ...interface{})
Info print informational message to output
Click to show internal directories.
Click to hide internal directories.