Formatting and helpers#

GoogleLogFormatter produces a compact prefix with severity, logger, thread/process and call-site information. AlwaysStdErrHandler is the package’s stderr-oriented handler abstraction.

Convenience helpers include log_if, log_every_n, log_first_n and vlog. Use them to reduce repetitive application logic, but do not use a rate-limited helper for events that must be recorded exactly once for audit or security purposes.

Call-site metadata is most reliable when records flow through the intended package helpers; direct low-level Logger calls can have different stack/caller semantics.