Update per level log file writing and with level check

remove all non alphanumeric characters from the level string (debug call
first parameter) so the file name is not invalid:wq
This commit is contained in:
Clemens Schwaighofer
2022-05-19 13:24:28 +09:00
parent 2119b757b1
commit aecdda3557
3 changed files with 20 additions and 1 deletions

View File

@@ -6,6 +6,8 @@ namespace tests;
use PHPUnit\Framework\TestCase;
// TODO: setLogPer test log file written matches pattern
/**
* Test class for Debug\Logging
* @coversDefaultClass \CoreLibs\Debug\Logging