Skip to main content

Module execution_log

Module execution_log 

Source
Expand description

Structured logging for function execution outcomes.

Pulled out of super::router::FunctionRouter so the router only owns dispatch concerns. The logger is a pure function over the execution outcome and the function’s configured log level.

Functions§

level_for
Resolve the effective log level for a function: explicit override on the function info wins, otherwise mutations/webhooks default to Info and queries default to Debug (high volume).
log_completion
Emit a structured log line for a function execution.