Forgot to remove this debug-debug log lol
This commit is contained in:
parent
388d0eafa0
commit
b1f6528605
|
@ -266,7 +266,6 @@ function wh_log(string $message, string $level = 'info', array $context = []): v
|
||||||
|
|
||||||
switch (strtolower($level)) {
|
switch (strtolower($level)) {
|
||||||
case 'debug': // Only log debug messages if APP_DEBUG is true
|
case 'debug': // Only log debug messages if APP_DEBUG is true
|
||||||
wh_log('APP_DEBUG: ' . getEnvironmentValue('APP_DEBUG'));
|
|
||||||
if(getEnvironmentValue('APP_DEBUG') === false) return;
|
if(getEnvironmentValue('APP_DEBUG') === false) return;
|
||||||
$log->debug($message, $context);
|
$log->debug($message, $context);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue