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.

module documentation

Undocumented

Class ClearLogsCommand Remove files generated by the application's logging channels.
Function _clear_configured_log Remove files matching one configured log path template.
def _clear_configured_log(path_template: str, base_path: Path) -> tuple[int, list[str]]: (source)

Remove files matching one configured log path template.

Parameters
path_template:strLog path declared by a logging channel.
base_path:PathApplication root for relative paths.
Returns
tuple[int, list[str]]Number of files removed and filesystem errors encountered.