Skip to main content

Module logging

Module logging 

Source
Expand description

Stderr verbosity, set once from -q/-v and shared across the CLI.

Three levels: quiet (results + hard errors only), normal (status chatter — which schema, warming, no-matches), verbose (adds diagnostics — cache hits, rq candidates, why the embedding model loaded or fell back). Status text goes through [status!]/[detail!]; under the semantic feature we also route the borrowed log:: macros here, so -v surfaces the otherwise-silent model-load debug!/warn! lines from ae’s pipeline.

Constants§

NORMAL
QUIET
VERBOSE

Functions§

init
Set the global level from the parsed flags (called once at startup). -v and -q are mutually exclusive at the clap layer, so at most one is set.
is_quiet
is_verbose
level