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.
module documentation
Undocumented
| Class | |
No class docstring; 1/1 static method documented |
| Function | _create |
Create a size-based rotating file handler. |
| Function | _create |
Create a daily rotating file handler. |
| Function | _create |
Create an hourly rotating file handler. |
| Function | _create |
Create a monthly rotating file handler. |
| Function | _create |
Create a non-rotating file handler for the stack channel. |
| Function | _create |
Create a weekly rotating file handler. |
| Constant | _CHANNEL |
Undocumented |
def _create_chunked(channel_config:
dict, app_root: str, path_template: str, level: int) -> Handler:
(source)
¶
Create a size-based rotating file handler.
| Parameters | |
channeldict | Channel settings containing optional mb_size and files values. |
appstr | Root path of the application. |
pathstr | Relative or absolute log file path template. |
level:int | Logging level to apply to the handler. |
| Returns | |
Handler | Configured AdvancedRotatingFileHandler instance using chunked rotation and compressed rotated files. |
def _create_daily(channel_config:
dict, app_root: str, path_template: str, level: int) -> Handler:
(source)
¶
Create a daily rotating file handler.
| Parameters | |
channeldict | Channel configuration dictionary. Supports at for rotation time and retention_days to control backup retention. |
appstr | Root path of the application. |
pathstr | Relative or absolute log file path template. |
level:int | Logging level to apply to the handler. |
| Returns | |
Handler | Configured AdvancedRotatingFileHandler instance using a daily suffix resolver. |
def _create_hourly(channel_config:
dict, app_root: str, path_template: str, level: int) -> Handler:
(source)
¶
Create an hourly rotating file handler.
| Parameters | |
channeldict | Channel configuration dictionary. Supports retention_hours to control backup retention. |
appstr | Root path of the application. |
pathstr | Relative or absolute log file path template. |
level:int | Logging level to apply to the handler. |
| Returns | |
Handler | Configured AdvancedRotatingFileHandler instance using an hourly suffix resolver. |
def _create_monthly(channel_config:
dict, app_root: str, path_template: str, level: int) -> Handler:
(source)
¶
Create a monthly rotating file handler.
| Parameters | |
channeldict | Channel configuration dictionary. Supports at for rotation time and retention_months to control backup retention. |
appstr | Root path of the application. |
pathstr | Relative or absolute log file path template. |
level:int | Logging level to apply to the handler. |
| Returns | |
Handler | Configured AdvancedRotatingFileHandler instance using a monthly suffix resolver. |
def _create_stack(_channel_config:
dict, app_root: str, path_template: str, level: int) -> Handler:
(source)
¶
Create a non-rotating file handler for the stack channel.
| Parameters | |
_channeldict | Channel configuration dictionary (unused for this handler type). |
appstr | Root path of the application. |
pathstr | Relative or absolute log file path template. |
level:int | Logging level to apply to the handler. |
| Returns | |
Handler | Configured FileHandler instance. |
def _create_weekly(channel_config:
dict, app_root: str, path_template: str, level: int) -> Handler:
(source)
¶
Create a weekly rotating file handler.
| Parameters | |
channeldict | Channel configuration dictionary. Supports at for rotation time and retention_weeks to control backup retention. |
appstr | Root path of the application. |
pathstr | Relative or absolute log file path template. |
level:int | Logging level to apply to the handler. |
| Returns | |
Handler | Configured AdvancedRotatingFileHandler instance using a weekly suffix resolver. |
Undocumented
| Value |
|