The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Package obs is the shared logging facade for internal/* packages (ADR-0003).
It lets leaf packages emit log lines and sanitise user input without importing
package main. package main wires the sink once at startup (SetSink) so these
lines flow into the same rotating/JSON logger; before that, and in unit tests,
the default sink writes to stderr.
Sanitize strips control characters from s to prevent log injection (CWE-117).
This is an INDEPENDENT copy of package main's sanitizeLog (proxy.go), kept
separate on purpose: CodeQL's CWE-117 query recognises the inline
strings.ReplaceAll sanitiser at each call site, and delegating across a
package boundary risks losing that recognition. The two copies are tiny and
each behaviour-tested; the property (no control byte survives) is the contract.
SetSink publishes the log destination. Call once at startup, before serving
traffic. A nil fn is ignored. Subsequent calls replace the sink atomically.
Warnf formats with a WARN prefix and sends the line to the configured sink.
Note: unlike package main's logWarnf, this does not apply main's runtime
log-level filter (that state lives in main); internal warnings always emit.