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 ClearLogsCommand(BaseCommand): (source)

View In Hierarchy

Remove files generated by the application's logging channels.

Method handle Remove framework log files and compressed rotated logs.
Class Variable description Undocumented
Class Variable signature Undocumented
Class Variable timestamps Undocumented
def handle(self, app: IApplication, console: Console, logger: ILogger) -> int: (source)

Remove framework log files and compressed rotated logs.

Parameters
app:IApplicationApplication providing the log directory and channel paths.
console:ConsoleConsole used to report the cleanup result.
logger:ILoggerFramework logger whose open files must be released.
Returns
intZero when every log is removed; one when removal fails.
description: str = (source)

Undocumented

signature: str = (source)

Undocumented

timestamps: bool = (source)

Undocumented