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