M5 A3 fertig

This commit is contained in:
S170H
2023-12-20 17:21:49 +01:00
parent aa921725c9
commit a605ce4d34
35 changed files with 1970 additions and 19 deletions

View File

@@ -360,4 +360,14 @@ function assert_blade(): void
}
}
use Monolog\Level;
use Monolog\Logger;
use Monolog\Handler\StreamHandler;
function logger($name, $path){
$fullpath = $path . '\\' . $name . '.txt';
$log = new Logger($name);
$log->pushHandler(new StreamHandler($fullpath), Level::Warning);
return $log;
}