Versions in this module Expand all Collapse all v1 v1.0.1 Oct 17, 2017 v1.0.0 Sep 20, 2016 Changes in this version + var Strings = [...]string + func Debug(v ...interface{}) + func Debugf(msg string, v ...interface{}) + func Error(v ...interface{}) + func Errorf(msg string, v ...interface{}) + func Fatal(v ...interface{}) + func Fatalf(msg string, v ...interface{}) + func Info(v ...interface{}) + func Infof(msg string, v ...interface{}) + func Printf(msg string, v ...interface{}) + func Println(v ...interface{}) + func SetHandler(h Handler) + func SetLevel(l Level) + func Warn(v ...interface{}) + func Warnf(msg string, v ...interface{}) + type Entry struct + Fields Fields + Level Level + Logger *Logger + Message string + Timestamp time.Time + func NewEntry(log *Logger) *Entry + func Trace(msg string) *Entry + func WithError(err error) *Entry + func WithField(key string, value interface{}) *Entry + func WithFields(fields Fielder) *Entry + func WithMemStats() *Entry + func (e *Entry) Debug(v ...interface{}) + func (e *Entry) Debugf(msg string, v ...interface{}) + func (e *Entry) Error(v ...interface{}) + func (e *Entry) Errorf(msg string, v ...interface{}) + func (e *Entry) Fatal(v ...interface{}) + func (e *Entry) Fatalf(msg string, v ...interface{}) + func (e *Entry) Info(v ...interface{}) + func (e *Entry) Infof(msg string, v ...interface{}) + func (e *Entry) Printf(msg string, v ...interface{}) + func (e *Entry) Println(v ...interface{}) + func (e *Entry) Stop(err *error) + func (e *Entry) Trace(msg string) *Entry + func (e *Entry) Warn(v ...interface{}) + func (e *Entry) Warnf(msg string, v ...interface{}) + func (e *Entry) WithError(err error) *Entry + func (e *Entry) WithField(key string, value interface{}) *Entry + func (e *Entry) WithFields(fields Fielder) *Entry + func (e *Entry) WithMemStats() *Entry + type Fielder interface + Fields func() Fields + type Fields map[string]interface + func (f Fields) Fields() Fields + type Fn func() interface + type Handler interface + HandleLog func(*Entry) error + func NewSimple(w io.Writer) Handler + type HandlerFunc func(*Entry) error + func (f HandlerFunc) HandleLog(e *Entry) error + type Interface interface + Debug func(v ...interface{}) + Debugf func(msg string, v ...interface{}) + Error func(v ...interface{}) + Errorf func(msg string, v ...interface{}) + Fatal func(v ...interface{}) + Fatalf func(msg string, v ...interface{}) + Info func(v ...interface{}) + Infof func(msg string, v ...interface{}) + Printf func(msg string, v ...interface{}) + Println func(v ...interface{}) + Trace func(msg string) *Entry + Warn func(v ...interface{}) + Warnf func(msg string, v ...interface{}) + WithError func(err error) *Entry + WithField func(key string, value interface{}) *Entry + WithFields func(fields Fielder) *Entry + WithMemStats func() *Entry + var Log Interface = &Logger{ ... } + type Level int + const DebugLevel + const ErrorLevel + const FatalLevel + const InfoLevel + const WarnLevel + func ParseLevel(s string) (Level, error) + func (l Level) MarshalJSON() ([]byte, error) + func (l Level) String() string + type Logger struct + Handler Handler + Level Level + func (l *Logger) Debug(v ...interface{}) + func (l *Logger) Debugf(msg string, v ...interface{}) + func (l *Logger) Error(v ...interface{}) + func (l *Logger) Errorf(msg string, v ...interface{}) + func (l *Logger) Fatal(v ...interface{}) + func (l *Logger) Fatalf(msg string, v ...interface{}) + func (l *Logger) Info(v ...interface{}) + func (l *Logger) Infof(msg string, v ...interface{}) + func (l *Logger) Printf(msg string, v ...interface{}) + func (l *Logger) Println(v ...interface{}) + func (l *Logger) Trace(msg string) *Entry + func (l *Logger) Warn(v ...interface{}) + func (l *Logger) Warnf(msg string, v ...interface{}) + func (l *Logger) WithError(err error) *Entry + func (l *Logger) WithField(key string, value interface{}) *Entry + func (l *Logger) WithFields(fields Fielder) *Entry + func (l *Logger) WithMemStats() *Entry + type SimpleHandler struct + Writer io.Writer + func (h *SimpleHandler) HandleLog(e *Entry) error