Documentation
¶
Index ¶
Constants ¶
View Source
const LevelCritical = slog.Level(12)
LevelCritical is an extra log level supported by Cloud Logging.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler that outputs JSON understood by the structured log agent. See https://cloud.google.com/logging/docs/agent/logging/configuration#special-fields
func NewHandler ¶
Click to show internal directories.
Click to hide internal directories.