Versions in this module Expand all Collapse all v1 v1.0.0 Jul 6, 2022 v1.0.0-rc23 Jun 24, 2022 v0 v0.1.2 Sep 15, 2023 v0.1.1 Sep 15, 2023 v0.0.3 Sep 21, 2023 Changes in this version + type Context interface + GetLogPrefix func() string + var NilContext Context = &NilContextS{} + func NewSubContext(parent Context, child Context) Context + type ContextL interface + Debugf func(f string, params ...interface{}) + Errorf func(f string, params ...interface{}) + GetLogContext func() Context + GetLogger func() L + Infof func(f string, params ...interface{}) + SDebugf func(lc Context, f string, params ...interface{}) + SErrorf func(lc Context, f string, params ...interface{}) + SInfof func(lc Context, f string, params ...interface{}) + SWarnf func(lc Context, f string, params ...interface{}) + Warnf func(f string, params ...interface{}) + func NewContextL(lc Context, cl ContextL) ContextL + func NewContextLFromUnderlying(lc Context, ul Underlying) ContextL + func NewSubContextL(subContext Context, cl ContextL) ContextL + type ContextLImpl struct + L L + func (l *ContextLImpl) Debugf(f string, params ...interface{}) + func (l *ContextLImpl) Errorf(f string, params ...interface{}) + func (l *ContextLImpl) GetLogContext() Context + func (l *ContextLImpl) GetLogger() L + func (l *ContextLImpl) Infof(f string, params ...interface{}) + func (l *ContextLImpl) SDebugf(lc Context, f string, params ...interface{}) + func (l *ContextLImpl) SErrorf(lc Context, f string, params ...interface{}) + func (l *ContextLImpl) SInfof(lc Context, f string, params ...interface{}) + func (l *ContextLImpl) SWarnf(lc Context, f string, params ...interface{}) + func (l *ContextLImpl) Warnf(f string, params ...interface{}) + type L interface + Debugf func(lc Context, f string, params ...interface{}) + Errorf func(lc Context, f string, params ...interface{}) + GetUnderlyingLogger func() Underlying + Infof func(lc Context, f string, params ...interface{}) + Warnf func(lc Context, f string, params ...interface{}) + type LoggerImpl struct + UL Underlying + func (l *LoggerImpl) Debugf(c Context, f string, params ...interface{}) + func (l *LoggerImpl) Errorf(c Context, f string, params ...interface{}) + func (l *LoggerImpl) GetUnderlyingLogger() Underlying + func (l *LoggerImpl) Infof(c Context, f string, params ...interface{}) + func (l *LoggerImpl) Warnf(c Context, f string, params ...interface{}) + type NilContextS struct + func (nc NilContextS) GetLogPrefix() string + type SContext struct + S string + func (slc SContext) GetLogPrefix() string + type SubContext struct + func (slc *SubContext) GetLogPrefix() string + type Underlying interface + Debugf func(lp string, f string, params ...interface{}) + Errorf func(lp string, f string, params ...interface{}) + Infof func(lp string, f string, params ...interface{}) + Warnf func(lp string, f string, params ...interface{})