Versions in this module Expand all Collapse all v1 v1.0.2 May 3, 2020 Changes in this version type Destination + func BenchDestinations() []Destination + func TestDestinations(ctx context.Context, t *testing.T) []Destination v1.0.1 Apr 18, 2020 Changes in this version + const DEFAULTBUFFER + const DEFAULTTIMEFORMAT + func Close() + func Crit(err error, v ...interface{}) + func Critc(ctx context.Context, v <-chan interface{}) + func Critf(err error, format string, v ...interface{}) + func Critln(err error, v ...interface{}) + func Custom(ltype string, err error, v ...interface{}) + func Customc(ctx context.Context, v <-chan interface{}, ltype string) + func Customf(ltype string, err error, format string, v ...interface{}) + func Customln(ltype string, err error, v ...interface{}) + func Debug(err error, v ...interface{}) + func Debugc(ctx context.Context, v <-chan interface{}) + func Debugf(err error, format string, v ...interface{}) + func Debugln(err error, v ...interface{}) + func Error(err error, v ...interface{}) + func Errorc(ctx context.Context, v <-chan interface{}) + func Errorf(err error, format string, v ...interface{}) + func Errorln(err error, v ...interface{}) + func Fatal(err error, v ...interface{}) + func Fatalc(ctx context.Context, v <-chan interface{}) + func Fatalf(err error, format string, v ...interface{}) + func Fatalln(err error, v ...interface{}) + func Global(ctx context.Context, prefix string, dateformat string, location *time.Location, ...) (err error) + func Print(v ...interface{}) + func Printc(ctx context.Context, v <-chan interface{}) + func Printf(format string, v ...interface{}) + func Println(v ...interface{}) + func Trace(err error, v ...interface{}) + func Tracec(ctx context.Context, v <-chan interface{}) + func Tracef(err error, format string, v ...interface{}) + func Traceln(err error, v ...interface{}) + func Wait(close bool) + func Warn(err error, v ...interface{}) + func Warnc(ctx context.Context, v <-chan interface{}) + func Warnf(err error, format string, v ...interface{}) + func Warnln(err error, v ...interface{}) + type Destination struct + Format LogFmt + Types LogLevel + Writer io.Writer + func Standards() []Destination + type LogFmt int8 + const JSON + const STD + type LogLevel int16 + const CRIT + const CUSTOM + const DEBUG + const ERROR + const FATAL + const INFO + const TRACE + const WARN + type Logger interface + Close func() + Crit func(err error, v ...interface{}) + Critc func(ctx context.Context, v <-chan interface{}) + Critf func(err error, format string, v ...interface{}) + Critln func(err error, v ...interface{}) + Custom func(ltype string, err error, v ...interface{}) + Customc func(ctx context.Context, v <-chan interface{}, ltype string) + Customf func(ltype string, err error, format string, v ...interface{}) + Customln func(ltype string, err error, v ...interface{}) + Debug func(err error, v ...interface{}) + Debugc func(ctx context.Context, v <-chan interface{}) + Debugf func(err error, format string, v ...interface{}) + Debugln func(err error, v ...interface{}) + Error func(err error, v ...interface{}) + Errorc func(ctx context.Context, v <-chan interface{}) + Errorf func(err error, format string, v ...interface{}) + Errorln func(err error, v ...interface{}) + Fatal func(err error, v ...interface{}) + Fatalc func(ctx context.Context, v <-chan interface{}) + Fatalf func(err error, format string, v ...interface{}) + Fatalln func(err error, v ...interface{}) + Print func(v ...interface{}) + Printc func(ctx context.Context, v <-chan interface{}) + Printf func(format string, v ...interface{}) + Println func(v ...interface{}) + Trace func(err error, v ...interface{}) + Tracec func(ctx context.Context, v <-chan interface{}) + Tracef func(err error, format string, v ...interface{}) + Traceln func(err error, v ...interface{}) + Wait func(close bool) + Warn func(err error, v ...interface{}) + Warnc func(ctx context.Context, v <-chan interface{}) + Warnf func(err error, format string, v ...interface{}) + Warnln func(err error, v ...interface{}) + func New(ctx context.Context, prefix string, dateformat string, location *time.Location, ...) (logger Logger, err error)