THE ORIONIS API
Build with clarity.
Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.
class documentation
Represent the logging system configuration.
| Method | __post |
Validate the logging configuration after dataclass initialization. |
| Instance Variable | channels |
A collection of available logging channels. |
| Instance Variable | default |
The default logging channel to use. |
| Instance Variable | queue |
Pending records per handler; zero retains synchronous emission. |
Inherited from BaseEntity:
| Class Method | _cached |
Retrieve field definitions and normalized types cached by class. |
| Method | __init__ |
Initialize declared fields and public extra attributes. |
| Method | _dynamic |
Return public instance attributes that are not declared fields. |
| Method | _validate |
Validate names and storage for public extra attributes. |
| Method | get |
Describe declared fields and, optionally, dynamic attributes. |
| Method | to |
Return a recursively copied dictionary of declared and extra values. |
| Class Variable | __slots__ |
Declare that this class introduces no additional instance slots. |
| Class Variable | _orionis |
Cache declared fields and normalized type names for each concrete class. |
Validate the logging configuration after dataclass initialization.
Notes
- Ensures 'default' is a string matching available channel options from Channels fields.
- Ensures 'channels' is a Channels instance or a dictionary.
| Parameters | |
self:orionis.foundation.config.logging.Logging | The instance of the Logging class. |
| Returns | |
None | This method does not return a value. |
| Raises | |
ValueError | If the default channel is not a string or does not match available channel options. |
TypeError | If the channels configuration is malformed or cannot be converted to a Channels instance. |
TypeError | If the channels property is not a Channels instance or a dictionary. |