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 |
Undocumented |
| Class Variable | signature |
Undocumented |
| Class Variable | timestamps |
Undocumented |
Remove framework log files and compressed rotated logs.
| Parameters | |
app:IApplication | Application providing the log directory and channel paths. |
console:Console | Console used to report the cleanup result. |
logger:ILogger | Framework logger whose open files must be released. |
| Returns | |
int | Zero when every log is removed; one when removal fails. |