Documentation
¶
Overview ¶
Package logging wires zerolog. Logs always go to stderr so that a command's actual output on stdout stays machine-readable — `shrike doctor --json | jq` must not have log lines spliced into it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ThirdParty ¶
type ThirdParty struct{}
ThirdParty adapts libraries that insist on their own logger (go-redis, for one) onto zerolog at debug level. Without it, go-redis writes connection-pool retry chatter straight to stderr with its own timestamps, which corrupts both our log format and any command's human-facing output.
The method set is chosen to satisfy redis.Logging structurally, so this package needs no dependency on the client libraries it tames.
Click to show internal directories.
Click to hide internal directories.