Versions in this module Expand all Collapse all v1 v1.2.0 Feb 27, 2021 Changes in this version + const Lnodatetime v1.1.0 Aug 24, 2020 Changes in this version + const LUTC v1.0.0 May 23, 2018 Changes in this version + const Llongfile + const Lshortfile + type Backend struct + func NewBackend(w io.Writer, opts ...BackendOption) *Backend + func (b *Backend) Logger(subsystemTag string) Logger + type BackendOption func(b *Backend) + func WithFlags(flags uint32) BackendOption + type Level uint32 + const LevelCritical + const LevelDebug + const LevelError + const LevelInfo + const LevelOff + const LevelTrace + const LevelWarn + func LevelFromString(s string) (l Level, ok bool) + func (l Level) String() string + type Logger interface + Critical func(v ...interface{}) + Criticalf func(format string, params ...interface{}) + Debug func(v ...interface{}) + Debugf func(format string, params ...interface{}) + Error func(v ...interface{}) + Errorf func(format string, params ...interface{}) + Info func(v ...interface{}) + Infof func(format string, params ...interface{}) + Level func() Level + SetLevel func(level Level) + Trace func(v ...interface{}) + Tracef func(format string, params ...interface{}) + Warn func(v ...interface{}) + Warnf func(format string, params ...interface{}) + var Disabled Logger