Documentation ¶
Index ¶
- func SetDefaultChannel(channel string)
- func SetDefaultDebugMode(mode int)
- type Logger
- func (l *Logger) DebugLog(params ...interface{})
- func (l *Logger) DebugLogString(params ...string)
- func (l *Logger) Error(params ...string)
- func (l *Logger) Fatal(params ...string)
- func (l *Logger) FatalWithCode(code int, params ...string)
- func (l *Logger) Init(channel string, debug int)
- func (l *Logger) Log(params ...interface{})
- func (l *Logger) LogString(params ...string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetDefaultChannel ¶
func SetDefaultChannel(channel string)
func SetDefaultDebugMode ¶
func SetDefaultDebugMode(mode int)
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger : This is the logging utility class
func (*Logger) DebugLogString ¶
func (*Logger) FatalWithCode ¶
Click to show internal directories.
Click to hide internal directories.