Versions in this module Expand all Collapse all v0 v0.1.0 Jun 22, 2023 Changes in this version + func CloseLogError(closer io.Closer, logger commontypes.Logger, msg string) + func MergeOverwrite(upserts ...commontypes.LogFields) commontypes.LogFields + func MergePreserve(extras ...commontypes.LogFields) commontypes.LogFields + type IfNotStopped struct + func NewIfNotStopped(d time.Duration, f func()) *IfNotStopped + func (ins *IfNotStopped) Stop() + type LogarithmicTaper struct + func (tap *LogarithmicTaper) Count() uint64 + func (tap *LogarithmicTaper) Reset(f func(oldCount uint64)) + func (tap *LogarithmicTaper) Trigger(f func(newCount uint64)) + type LoggerWithContext interface + ErrorIfNotCanceled func(msg string, ctx context.Context, fields commontypes.LogFields) + MakeChild func(extraContext commontypes.LogFields) LoggerWithContext + MakeUpdated func(updatedContext commontypes.LogFields) LoggerWithContext + func MakeRootLoggerWithContext(logger commontypes.Logger) LoggerWithContext