Versions in this module Expand all Collapse all v0 v0.0.2 Jan 29, 2025 v0.0.1 Jan 28, 2025 Changes in this version + var ErrInvalidURL = errors.New("invalid URL") + var ErrSentryInitialization = errors.New("sentry initialization error") + func Flush() + func InitializeLogging(ctx context.Context, config LoggingConfig) error + func StdLogger() *log.Logger + type CloudWatchConfig struct + AWSKey string + AWSLogGroup string + AWSLogStream string + AWSRegion string + AWSSecret string + AWSSession string + Enabled bool + Level string + type JournalConfig struct + Enabled bool + Level string + type LoggingConfig struct + CloudWatchConfig CloudWatchConfig + JournalConfig JournalConfig + SentryConfig SentryConfig + SplunkConfig SplunkConfig + StdoutConfig StdoutConfig + TracingConfig TracingConfig + type SentryConfig struct + DSN string + Enabled bool + type SplunkConfig struct + Enabled bool + Hostname string + Level string + Source string + Token string + URL string + type StdoutConfig struct + Enabled bool + Format string + Level string + type TracingConfig struct + ContextCallback strc.MultiCallback + CustomAttrs []slog.Attr + Enabled bool