Forgot to remove this debug-debug log lol

This commit is contained in:
AGuyNamedJens 2023-03-30 22:09:36 +02:00 committed by IceToast
parent 388d0eafa0
commit b1f6528605

View file

@ -266,7 +266,6 @@ function wh_log(string $message, string $level = 'info', array $context = []): v
switch (strtolower($level)) {
case 'debug': // Only log debug messages if APP_DEBUG is true
wh_log('APP_DEBUG: ' . getEnvironmentValue('APP_DEBUG'));
if(getEnvironmentValue('APP_DEBUG') === false) return;
$log->debug($message, $context);
break;