Documentation ¶
Index ¶
- Constants
- Variables
- func ConvertJson(jobj interface{}) string
- func GlobalFormatter(lm *logs.LogMsg) string
- func Init(config map[string]interface{})
- type Log
- func (l *Log) Alert(logmsg string)
- func (l *Log) Critical(logmsg string)
- func (l *Log) Debug(logmsg string)
- func (l *Log) Emergency(logmsg string)
- func (l *Log) Error(logmsg string)
- func (l *Log) ErrorLog(err error)
- func (l *Log) Info(logmsg string)
- func (l *Log) Notice(logmsg string)
- func (l *Log) PerformanceWithDuration(function string, elapsed time.Duration)
- func (l *Log) Warn(logmsg string)
Constants ¶
Variables ¶
Functions ¶
func ConvertJson ¶
func ConvertJson(jobj interface{}) string
func GlobalFormatter ¶
Types ¶
type Log ¶
func (*Log) PerformanceWithDuration ¶
Click to show internal directories.
Click to hide internal directories.