Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
7 / 7 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
||
| 1 | <?php |
| 2 | /* |
| 3 | * This file is part of App Project. |
| 4 | * |
| 5 | * For the full copyright and license information, please view the LICENSE |
| 6 | * file that was distributed with this source code. |
| 7 | */ |
| 8 | /** |
| 9 | * Logger config. |
| 10 | * |
| 11 | * @see App::logger() |
| 12 | * @see https://docs.aplus-framework.com/guides/libraries/mvc/index.html#logger-service |
| 13 | */ |
| 14 | |
| 15 | use Framework\Log\Loggers\MultiFileLogger; |
| 16 | use Framework\Log\LogLevel; |
| 17 | |
| 18 | return [ |
| 19 | 'default' => [ |
| 20 | 'class' => MultiFileLogger::class, |
| 21 | 'destination' => STORAGE_DIR . 'logs', |
| 22 | 'level' => LogLevel::DEBUG, |
| 23 | ], |
| 24 | ]; |