package
0.0.0-20241019162812-a099d7a080ca
Repository: https://github.com/kiliandbigblue/octoback.git
Documentation: pkg.go.dev
# Functions
GetLogger returns the cloudzap for the current context.
LevelToSeverity converts a zapcore.Level to its corresponding Cloud Logging severity level.
NewEncoderConfig creates a new zapcore.EncoderConfig for structured JSON logging to Cloud Logging.
NewLogger creates a new Logger.
No description provided by the author
SourceLocation returns a structured logging field for the provided source location.
SourceLocationForCaller returns a structured logging field for the source location of the provided caller.
WithLogger adds a cloudzap to the current context.
# Structs
LoggerConfig configures the application logger.