From 61cb2bb6bba44a2489e48d467b1f818ac1b219ec Mon Sep 17 00:00:00 2001 From: xiaomlove Date: Mon, 17 Jul 2023 02:02:45 +0800 Subject: [PATCH] log level upper --- include/globalfunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/globalfunctions.php b/include/globalfunctions.php index e6f3d4b4..5541df83 100644 --- a/include/globalfunctions.php +++ b/include/globalfunctions.php @@ -213,7 +213,7 @@ function do_log($log, $level = 'info', $echo = false) sprintf('%.3f', microtime(true) - (nexus() ? nexus()->getStartTimestamp() : 0)), $uid, $passkey, - $env, $level, + $env, strtoupper($level), $backtrace[0]['file'] ?? '', $backtrace[0]['line'] ?? '', $backtrace[1]['class'] ?? '',