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)
Remove files generated by the application's logging channels.
| Method | handle |
Remove framework log files and compressed rotated logs. |
| Class Variable | description |
Clear framework log files.. |
| Class Variable | signature |
clear:logs. |
| Class Variable | timestamps |
Timestamps flag used by ClearLogsCommand. |
Remove framework log files and compressed rotated logs.
| Parameters | |
app:orionis.IApplication | Application providing the log directory and channel paths. |
console:orionis.console.Console | Console used to report the cleanup result. |
logger:orionis.logging.contracts.ILogger | Framework logger whose open files must be released. |
| Returns | |
int | Zero when every log is removed; one when removal fails. |