Versions in this module Expand all Collapse all v2 v2.0.0 Feb 20, 2024 Changes in this version + const CloudTraceContextHeader + const LevelCritical + type CloudLoggingHandler struct + func NewCloudLoggingHandler(projectID string, level slog.Level) *CloudLoggingHandler + func (h *CloudLoggingHandler) Enabled(ctx context.Context, level slog.Level) bool + func (h *CloudLoggingHandler) Handle(ctx context.Context, rec slog.Record) error + func (h *CloudLoggingHandler) WithAttrs(attrs []slog.Attr) slog.Handler + func (h *CloudLoggingHandler) WithGroup(name string) slog.Handler + type HTTPHandler struct + Handler http.Handler + func (h *HTTPHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)