Versions in this module Expand all Collapse all v0 v0.1.1 Jan 24, 2024 Changes in this version + const DebugLevel + const ErrorLevel + const InfoLevel + const WarnLevel + type Field = zap.Field + func Float64(key string, val float64) Field + func Int(key string, val int) Field + func String(key, val string) Field + func Uint(key string, val uint) Field + type Level = zapcore.Level + type Logger interface + Debug func(msg string, fields ...Field) + Error func(msg string, fields ...Field) + Info func(msg string, fields ...Field) + Sync func() error + Warn func(msg string, fields ...Field) + type LoggerInfo struct + Enabled bool + Level Level + Path string + TimeStampFormat string + type Ref utils.RoProp[Logger] + func NewLogger(info *LoggerInfo) Ref + type Rotation struct + Filename string + MaxAgeInDays int + MaxNoOfBackups int + MaxSizeInMb int