Rich handler
This page is auto-generated for HandlerType.Rich.
Spec
- Handler type:
Rich(rich) - Handler class:
FormattedRichHandler - Handler class FQDN:
daqpytools.logging.rich_handler.FormattedRichHandler - Factory:
_build_rich_handler - Factory FQDN:
daqpytools.logging.handlers._build_rich_handler - Fallback types:
rich - Summary: Build the rich console handler.
Factory API
daqpytools.logging.handlers._build_rich_handler(width=None, **_)
Build the rich console handler.
This factory is invoked from handler resolution in get_daq_logger and
receives forwarded **extras.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
width
|
int | None
|
Optional console width used by |
None
|
**_
|
object
|
Additional forwarded keyword arguments. Ignored by this factory. |
{}
|
Returns:
| Type | Description |
|---|---|
Handler
|
The configured rich logging handler. |