package
0.0.0-20240409024651-c4af43db5027
Repository: https://github.com/ossf/package-analysis.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
ContextWithAttrs is used to add attrs to the context so they are included when logs are output.
No description provided by the author
Initialize the logger for logging.
Label causes attributes written by zapdriver to be marked as labels inside StackDriver when LoggingEnv is LoggingEnvProd.
LoggerWithContext returns a logger with any attrs in the context passed to the logger.
No description provided by the author
NewWriter returns an io.WriteCloser that logs each line written as a single log entry at the given level with the supplied keysAndValues.

# Constants

No description provided by the author
No description provided by the author
StraceDebugLogDir is a hardcoded directory that can be used to store the strace debug log, if the strace debug logging feature is enabled.

# Type aliases

LoggingEnv is used to represent a specific configuration used by a given environment.