configure_debug_logging(
target: logging.Logger,
) -> None| Name | Type | Description |
|---|---|---|
target* | logging.Logger | Logger to configure. |
Attach a file handler to target when DEEPAGENTS_CLI_DEBUG is set.
The log file defaults to '/tmp/deepagents_debug.log' but can be overridden
with DEEPAGENTS_CLI_DEBUG_FILE. The handler appends so that multiple
modules share the same log file across a session.
Does nothing when DEEPAGENTS_CLI_DEBUG is not set.