package
Version:
v0.1.12
Opens a new window with list of versions in this module.
Published: Jul 23, 2024
License: BSD-3-Clause
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
slog performs structured logging when running on GCP.
Error logs an error in the manner of log.Print.
Errorf logs an error in the manner of log.Printf.
Info logs an informational message in the manner of log.Print.
Errorf logs an informational message in the manner of log.Printf.
RequestContext attempts to extract a GCP trace ID from req and attach it to a new context
derived from req.Context().
Source Files
¶
Click to show internal directories.
Click to hide internal directories.