Versions in this module Expand all Collapse all v0 v0.0.4 Jul 24, 2025 v0.0.2 Jul 23, 2025 Changes in this version + const EOF_KEY + const EOF_MSG + const EOF_VALUE + func RFC3339nanoTimeEncoder(t time.Time, enc zapcore.PrimitiveArrayEncoder) + type LogConfig struct + Directory string + EncodeLogsAsJson bool + FileLognodosagEnabled bool + Filename string + Level string + MaxAge int + MaxBackups int + MaxSize int + PrintLog bool + type Logger struct + func New(filePath string) (l *Logger) + func Of(logName string) (l *Logger) + func (l *Logger) Create() *Logger + func (l *Logger) CreateWithoutPool() *Logger + func (l *Logger) DisableFile() *Logger + func (l *Logger) OutputWriters() []io.Writer + func (l *Logger) SetAge(days int) *Logger + func (l *Logger) SetBufferLimit(cacheLimit int) *Logger + func (l *Logger) SetLevelDebug() + func (l *Logger) SetLevelError() + func (l *Logger) SetLevelInfo() + func (l *Logger) SetLevelWarn() + func (l *Logger) SetNumber(count int) *Logger + func (l *Logger) SetSize(mega int) *Logger