package
0.0.0-20240906124643-5ce5b849629e
Repository: https://github.com/mikeydub/go-gallery.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
GinFormatter returns a gin.LogFormatter that includes additional context via logrus.
InitWithGCPDefaults initializes a logger suitable for most Google Cloud Logging purposes.
NewContextWithFields returns a new context with a log entry derived from the default logger.
No description provided by the author
No description provided by the author

# Structs

GCPFormatter is a logrus.JSONFormatter with additional handling to map log severity and timestamps to the specific named JSON fields ("severity" and "time") that Google Cloud Logging expects.
LoggedError wraps the original error and logging message.