Logging class major change, Debug\Support update
old Debug\Logging is in Debug\LoggingLegacy and Debug\Logging extends Logging\Logging Logging\Logging is a new class with most of the functionality except there is no more print/outout to screen, but we use the default log levels (RFC5424) The plan is to be a frontend between the old type class and Monolog\Monolog Updated all other classes to use new class interface
This commit is contained in:
@@ -2,12 +2,9 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
$DEBUG_ALL_OVERRIDE = 0; // set to 1 to debug on live/remote server locations
|
||||
$DEBUG_ALL = 1;
|
||||
$PRINT_ALL = 1;
|
||||
$DB_DEBUG = 1;
|
||||
$DEBUG_LEVEL = \CoreLibs\Logging\Logger\Level::Debug;
|
||||
|
||||
if ($DEBUG_ALL) {
|
||||
if ($DEBUG_LEVEL->name == 'Debug') {
|
||||
error_reporting(E_ALL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user