package
0.0.2
Repository: https://github.com/osbuild/logging.git
Documentation: pkg.go.dev

# README

sinit

Common log config and initialization

For a full example run:

export SPLUNK_URL=xxx
export SPLUNK_TOKEN=xxx
export AWS_REGION=xxx
export AWS_SECRET=xxx
export AWS_KEY=xxx
export SENTRY_DSN=xxx
go run github.com/osbuild/logging/internal/example_sinit/

# Functions

Flush flushes all pending logs to the configured outputs.
InitializeLogging initializes the logging system with the provided configuration.
StdLogger returns a standard library legacy logger that writes to configured outputs.

# Variables

No description provided by the author
No description provided by the author

# Structs

CloudWatchConfig is the configuration for the CloudWatch output.
JournalConfig is the configuration for the system journal.
LoggingConfig is the configuration for the logging system.
SentryConfig is the configuration for the Sentry output.
SplunkConfig is the configuration for the Splunk output.
StdoutConfig is the configuration for the standard output.
TracingConfig is the configuration for strc.