Documentation ¶
Index ¶
- Variables
- type JourLog
- func (j *JourLog) Alert(format string, a ...interface{})
- func (j *JourLog) Critical(format string, a ...interface{})
- func (j *JourLog) Debug(format string, a ...interface{})
- func (j *JourLog) Emerge(format string, a ...interface{})
- func (j *JourLog) Error(format string, a ...interface{})
- func (j *JourLog) GetEcho() bool
- func (j *JourLog) GetLogLevel() journal.Priority
- func (j *JourLog) Info(format string, a ...interface{})
- func (j *JourLog) Notice(format string, a ...interface{})
- func (j *JourLog) SetEcho(state bool)
- func (j *JourLog) SetLogLevel(l journal.Priority)
- func (j *JourLog) Warning(format string, a ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var JLog = &JourLog{ logLevel: journal.PriInfo, printLog: false, tracebackDeep: 3, }
Functions ¶
This section is empty.
Types ¶
type JourLog ¶ added in v0.1.0
type JourLog struct {
// contains filtered or unexported fields
}
func (*JourLog) GetLogLevel ¶ added in v0.1.2
GetLogLevel return current loglevel
func (*JourLog) SetLogLevel ¶ added in v0.1.2
SetLogLevel set new loglevel
Click to show internal directories.
Click to hide internal directories.