Reverse order and multiple log files handler

This commit is contained in:
2023-02-15 17:45:23 -03:00
parent 110f37e4f4
commit c29eece81c
16 changed files with 494 additions and 101 deletions

View File

@ -5,5 +5,6 @@ $app->group('/logs', function($app) {
$app->get('[/]', Logs::class);
});
$app->group('/log/{log_file}', function($app) {
$app->get('/more/{start}[/{amount}]', [Logs::class, 'getMore']);
$app->get('[/]', [Logs::class, 'get']);
});