ORIONIS API REFERENCE

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_init__ 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.

Inherited from BaseEntity:

Class Method _cachedFieldMetadata Retrieve field definitions and normalized types cached by class.
Method getFields Describe field names, normalized types, defaults, and metadata.
Method toDict Convert the dataclass instance to a recursively copied dictionary.
Class Variable __slots__ Undocumented
def __post_init__(self): (source)

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:LoggingThe instance of the Logging class.
Returns
NoneThis method does not return a value.
Raises
ValueErrorIf the default channel is not a string or does not match available channel options.
TypeErrorIf the channels configuration is malformed or cannot be converted to a Channels instance.
TypeErrorIf the channels property is not a Channels instance or a dictionary.

A collection of available logging channels.

The default logging channel to use.