package
0.0.0-20241210030814-e80522ad66fa
Repository: https://github.com/curioswitch/go-usegcp.git
Documentation: pkg.go.dev
# Functions
AddSource returns an Option to add source information to log records.
Level returns an Option to set the minimum log level that will be logged.
NewHandler returns a new [slog.Handler], outputting in JSON with keys formatted to follow GCP's format for proper rendering in the console.
ReplaceAttr returns an Option to replace the value of an attribute.
# Interfaces
Option is a configuration option for NewHandler.