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

class RotatingHandlerFactory: (source)

View In Hierarchy

Undocumented

Static Method createHandler Create and return a log handler based on the channel configuration.
def createHandler(channel_name: str, channel_config: dict, app_root: str) -> Handler | None: (source)

Create and return a log handler based on the channel configuration.

Parameters
channel_name:strName of the channel (e.g., stack, hourly, daily).
channel_config:dictChannel configuration dictionary.
app_root:strRoot path of the application.
Returns
Handler | NoneConfigured log handler instance, or None if the type is unsupported.