Documentation ¶
Overview ¶
Package logger provides utility functions for logging purposes
Index ¶
- type Logger
- func (l *Logger) Debug(args ...interface{})
- func (l *Logger) Debugf(format string, args ...interface{})
- func (l *Logger) Error(args ...interface{})
- func (l *Logger) Errorf(format string, args ...interface{})
- func (l *Logger) Fatalf(format string, args ...interface{})
- func (l *Logger) Print(args ...interface{})
- func (l *Logger) PrintString(msg string)
- func (l *Logger) Printf(format string, args ...interface{})
- func (l *Logger) Println(args ...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
}
A Logger is used to log messages to stdout
func (*Logger) PrintString ¶
PrintString logs a string as info
Click to show internal directories.
Click to hide internal directories.