Documentation
¶
Overview ¶
Package source attributes where wrapped logs came from, so usage analytics can answer "where do my logs originate". Detection is deterministic — it reads the wrapped command, never the log content — so a tagged source is ground truth, not a guess. Shared by the `wrap` CLI command and the MCP tool dispatch.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Detect ¶
Detect attributes where the wrapped logs came from. Priority: explicit value, then the wrapped program's (normalized) name, then "stdin" when there is no command and we genuinely can't tell. Never empty — "stdin" is an honest "we don't know the upstream tool", not a guess dressed up as certainty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.