mirror of
https://github.com/flextype/flextype.git
synced 2025-08-08 22:26:46 +02:00
feat(core): add new tmp constant #470
This commit is contained in:
@@ -73,7 +73,7 @@ flextype()->container()['registry'] = static function () use ($registry) {
|
||||
*/
|
||||
flextype()->container()['logger'] = static function () {
|
||||
$logger = new Logger('flextype');
|
||||
$logger->pushHandler(new StreamHandler(PATH['logs'] . '/' . date('Y-m-d') . '.log'));
|
||||
$logger->pushHandler(new StreamHandler(PATH['tmp'] . '/logs/' . date('Y-m-d') . '.log'));
|
||||
|
||||
return $logger;
|
||||
};
|
||||
|
Reference in New Issue
Block a user