pipeloom.rlog¶
pipeloom.rlog ¶
rlog.py¶
Rich-aware logging. We create one Console and share it between RichHandler (logging) and Rich Progress (live bars). Without a shared console, Rich would render duplicate live regions and your terminal would flicker or show repeated “All tasks” bars.
setup_logging ¶
Configure logging.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
verbose
|
int
|
0 = WARNING, 1 = INFO, 2+ = DEBUG |
required |
log_file
|
Path | None
|
If provided, a plain (non-Rich) file handler is added for CI/grep. |
None
|