Documentation ¶
Index ¶
- func Debugf(format string, args ...interface{})
- func DisplayGoc()
- func Donef(format string, args ...interface{})
- func Errorf(format string, args ...interface{})
- func Fatalf(format string, args ...interface{})
- func Infof(format string, args ...interface{})
- func NewLogger(debug bool)
- func StartWait(message string)
- func StopWait()
- func Sync()
- func Warnf(format string, args ...interface{})
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisplayGoc ¶
func DisplayGoc()
Types ¶
type Logger ¶
type Logger interface { Debugf(format string, args ...interface{}) Infof(format string, args ...interface{}) Warnf(format string, args ...interface{}) Fatalf(format string, args ...interface{}) Errorf(format string, args ...interface{}) Donef(format string, args ...interface{}) StartWait(message string) StopWait() // Sync flushes cached log to disk, some log library needs this step Sync() }
Logger defines common interface for logging
Click to show internal directories.
Click to hide internal directories.