Versions in this module Expand all Collapse all v0 v0.1.2 Apr 3, 2019 Changes in this version + func DisableTimestamp() + func EnableTimestamp() + func GetLogLevel(source string, altsource string) int + func IsLogEnabledSource(level int, source string) bool + func LogFormatter(format string, args ...interface{}) string v0.1.1 Aug 17, 2018 Changes in this version + const LogLevelAlert + const LogLevelCrit + const LogLevelDebug + const LogLevelEmerg + const LogLevelErr + const LogLevelInfo + const LogLevelNotice + const LogLevelTrace + const LogLevelWarn + func Alert(format string, args ...interface{}) + func Crit(format string, args ...interface{}) + func Debug(format string, args ...interface{}) + func Emerg(format string, args ...interface{}) + func Err(format string, args ...interface{}) + func Info(format string, args ...interface{}) + func IsAlertEnabled() bool + func IsCritEnabled() bool + func IsDebugEnabled() bool + func IsEmergEnabled() bool + func IsErrEnabled() bool + func IsInfoEnabled() bool + func IsLogEnabled(level int) bool + func IsNoticeEnabled() bool + func IsTraceEnabled() bool + func IsWarnEnabled() bool + func LogMessage(level int, format string, args ...interface{}) + func LogMessageSource(level int, source string, format string, args ...interface{}) + func Notice(format string, args ...interface{}) + func Shutdown() + func Startup() + func Trace(format string, args ...interface{}) + func Warn(format string, args ...interface{}) + type LogWriter struct + func NewLogWriter() *LogWriter + func (w *LogWriter) Write(p []byte) (int, error)