Versions in this module Expand all Collapse all v3 v3.11.0 Oct 9, 2018 Changes in this version + var DebugLevel = Level + var ErrorLevel = Level + var InfoLevel = Level + var NoticeLevel = Level + var WarnLevel = Level + func EvalTemplate(id string, template string, data map[string]interface{}) string + func LimitLines(msg string, n int) string + type Entry struct + ID string + Level Level + Message string + Origin string + type Hash map[string]interface + type Level struct + Bright bool + Color ct.Color + Level int + Name string + Prefix string + type Logger struct + func NewLogger(setLevel int, setFormat string, out io.Writer) (*Logger, error) + func (l *Logger) Debug(id string, text string) + func (l *Logger) Error(id string, text string) + func (l *Logger) ErrorsSeen() bool + func (l *Logger) Info(id string, text string) + func (l *Logger) LogEntry(entry Entry) + func (l *Logger) Notice(id string, text string) + func (l *Logger) Summary() + func (l *Logger) Warn(id string, text string) + type LoggerOptions struct + Format string + Level int + Out io.Writer + func (o *LoggerOptions) NewLogger() (*Logger, error)