noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 03/06: Improve Debug appearance


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 03/06: Improve Debug appearance
Date: Sat, 3 Jun 2023 10:30:27 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit ca14f97e3994ec9363a208a3494cc032e79bf0d0
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Wed May 24 18:15:03 2023 +0200

    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= '<span 
style="font-size:12px;color:orangered;background-color:lightyellow;">';
+            $r= '<span 
style="font-size:12px;color:orangered;background-color:lightyellow;margin:1rem;border:1px
 black dashed">';
             $type = gettype($msg);
             if (in_array($type, ["string", "integer", "double"])) {
                 $r.= $msg;
@@ -28,7 +28,7 @@ class Dbg
     {
         if (DEBUGNOALYSS > 1) {
             $r =  '<span 
style="font-size:12px;color:brown;background-color:bisque;">';
-            $r.="[FILE: $msg]";
+            $r.="[FUNC: $msg]";
 
             $r.= '</span>';
             if ($print) { echo $r;}
@@ -38,7 +38,7 @@ class Dbg
     public static function echo_file($msg,$print=true)
     {
         if (DEBUGNOALYSS > 1) {
-            $r =  '<span 
style="font-size:12px;color:brown;background-color:lightyellow;">';
+            $r =  '<span 
style="font-size:12px;color:brown;background-color:lightyellow;display:table-row">';
             $r.="[FILE: $msg]";
 
             $r.= '</span>';



reply via email to

[Prev in Thread] Current Thread [Next in Thread]