Versions in this module Expand all Collapse all v1 v1.0.4 Apr 29, 2022 Changes in this version + const Discard + const Stderr + func Close() error + func Debug(v ...interface{}) + func DebugPackage(b bool) + func Debugf(format string, v ...interface{}) + func Debugln(v ...interface{}) + func JSON(data map[string]interface{}, format string, v ...interface{}) + func Print(v ...interface{}) + func Printf(format string, v ...interface{}) + func Println(v ...interface{}) + func SetLogger(l Interface) + type BasicLogable struct + func (b *BasicLogable) Log() Interface + func (b *BasicLogable) SetLogger(l Interface) + type Interface interface + Printf func(format string, v ...interface{}) + func Log() Interface + func PrefixWith(l Interface, format string, v ...interface{}) Interface + func ToLog(l Logger) Interface + func With(l Interface, format string, v ...interface{}) Interface + type Logable interface + type Logger interface + Log func() Interface + type SetLoggerer interface + SetLogger func(l Interface) + type SwapLogger struct + func (l *SwapLogger) Close() error + func (l *SwapLogger) Print(v ...interface{}) + func (l *SwapLogger) Printf(format string, v ...interface{}) + func (l *SwapLogger) Println(v ...interface{}) + func (l *SwapLogger) Swap(lg Interface) + func (l *SwapLogger) Unwrap() Interface + type ToMany struct + func (l *ToMany) Append(lg ...Interface) *ToMany + func (l *ToMany) Close() (err error) + func (l *ToMany) Len() (n int) + func (l *ToMany) Loggers() (loggers []Interface) + func (l *ToMany) Print(v ...interface{}) + func (l *ToMany) Printf(format string, v ...interface{}) + func (l *ToMany) Println(v ...interface{}) + func (l *ToMany) Reset() (loggers []Interface) + type Writer struct + L Interface + func (w *Writer) Flush() error + func (w *Writer) Len() int + func (w *Writer) Write(p []byte) (n int, err error) + func (w *Writer) WriteByte(c byte) error + func (w *Writer) WriteRune(r rune) (n int, err error) + func (w *Writer) WriteString(s string) (n int, err error)