Documentation ¶
Index ¶
- Constants
- type Logger
- func (l *Logger) Debugf(f string, s ...interface{})
- func (l *Logger) Debugln(s ...interface{})
- func (l *Logger) Errorf(f string, s ...interface{})
- func (l *Logger) Errorln(s ...interface{})
- func (l *Logger) Printf(f string, s ...interface{})
- func (l *Logger) Println(s ...interface{})
- func (l *Logger) SetMinLevel(level logutils.LogLevel)
- func (l *Logger) Warnf(f string, s ...interface{})
- func (l *Logger) Warnln(s ...interface{})
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
func Default ¶
func Default() *Logger
Initialize a new logger writing to stderr. This is a singleton, so if New() was called previously, then that object will be returned and not necessarily one initialized to write to stderr.
func New ¶
Initialize a new logger writing the given io.Writer. This is a singleton, so if New() was called previously, the previously initialized object is returned.
func (*Logger) SetMinLevel ¶
Sets the minimum logging level
Click to show internal directories.
Click to hide internal directories.