Documentation ¶
Index ¶
- func Debug(m string)
- func Debugf(m string, args ...interface{})
- func Error(m string)
- func Errorf(m string, args ...interface{})
- func Flush()
- func Info(m string)
- func Infof(m string, args ...interface{})
- func Init(recorder Recorder)
- func Warn(m string)
- func Warnf(m string, args ...interface{})
- type GlogRecorder
- type Recorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debugf ¶
func Debugf(m string, args ...interface{})
Debugf records the supplied Debug string including any arguments (i.e. Printf)
func Errorf ¶
func Errorf(m string, args ...interface{})
Errorf records the supplied Error string including any arguments (i.e. Printf)
Types ¶
type GlogRecorder ¶
type GlogRecorder struct {
Recorder
}
GlogRecorder struct contains the recorder
func (*GlogRecorder) Debug ¶
func (l *GlogRecorder) Debug(m string)
Debug records the supplied debug string
func (*GlogRecorder) Error ¶
func (l *GlogRecorder) Error(m string)
Error records the supplied error string
func (*GlogRecorder) Flush ¶ added in v0.2.0
func (l *GlogRecorder) Flush()
Flush flushes the recorder
func (*GlogRecorder) Info ¶
func (l *GlogRecorder) Info(m string)
Info records the supplied Info string
func (*GlogRecorder) Warn ¶
func (l *GlogRecorder) Warn(m string)
Warn records the supplied warn string
Click to show internal directories.
Click to hide internal directories.