From ca14f97e3994ec9363a208a3494cc032e79bf0d0 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Wed, 24 May 2023 18:15:03 +0200 Subject: [PATCH] Improve Debug appearance --- include/lib/dbg.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/lib/dbg.php b/include/lib/dbg.php index 82dabc3af..b5ac58d43 100644 --- a/include/lib/dbg.php +++ b/include/lib/dbg.php @@ -8,7 +8,7 @@ class Dbg public static function echo_var($n_level, $msg,$print=true) { if (DEBUGNOALYSS > $n_level) { - $r= ''; + $r= ''; $type = gettype($msg); if (in_array($type, ["string", "integer", "double"])) { $r.= $msg; @@ -28,7 +28,7 @@ class Dbg { if (DEBUGNOALYSS > 1) { $r = ''; - $r.="[FILE: $msg]"; + $r.="[FUNC: $msg]"; $r.= ''; if ($print) { echo $r;} @@ -38,7 +38,7 @@ class Dbg public static function echo_file($msg,$print=true) { if (DEBUGNOALYSS > 1) { - $r = ''; + $r = ''; $r.="[FILE: $msg]"; $r.= '';