Versions in this module Expand all Collapse all v1 v1.0.6 Sep 13, 2015 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 IsTerminal(w io.Writer) bool + 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) Info(id string, text string) + func (l *Logger) LogEntry(entry Entry) + func (l *Logger) Notice(id string, text string) + func (l *Logger) Summary(warningsSeen int, errorsSeen int) + func (l *Logger) Warn(id string, text string) + type LoggerOptions struct + Format string + Level int + Out io.Writer + func (o *LoggerOptions) NewLogger() (*Logger, error)