Versions in this module Expand all Collapse all v0 v0.2.0 May 19, 2026 Changes in this version + func FxModule() fx.Option + type Configuration struct + LogLevel string + LoggerType LoggerType + ServiceName string + type LogFields map[string]any + type LogLevel int + const LogLevelCritical + const LogLevelDebug + const LogLevelError + const LogLevelInfo + const LogLevelWarn + func ParseLevel(level string) LogLevel + type Logger interface + Critical func(msg string, args ...any) + CriticalContext func(ctx context.Context, msg string, args ...any) + Debug func(msg string, args ...any) + DebugContext func(ctx context.Context, msg string, args ...any) + Enabled func(level int) bool + Error func(msg string, args ...any) + ErrorContext func(ctx context.Context, msg string, args ...any) + Info func(msg string, args ...any) + InfoContext func(ctx context.Context, msg string, args ...any) + IsLevelEnabled func(level LogLevel) bool + Warn func(msg string, args ...any) + WarnContext func(ctx context.Context, msg string, args ...any) + WithContext func(ctx context.Context) Logger + WithFields func(fields LogFields) Logger + WithKeysAndValues func(keysAndValues ...any) Logger + func New(opts ...Option) Logger + type LoggerType string + const SlogLogger + const ZapLogger + type Option func(*config) + func WithLevel(level LogLevel) Option + func WithType(loggerType LoggerType) Option