[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>';
- [Noalyss-commit] [noalyss] branch master updated (596bc85fd -> 4925941c8), Dany De Bontridder, 2023/06/03
- [Noalyss-commit] [noalyss] 03/06: Improve Debug appearance,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 02/06: Database return the name of the database, Dany De Bontridder, 2023/06/03
- [Noalyss-commit] [noalyss] 01/06: Debug : error is tracefile not enable, Dany De Bontridder, 2023/06/03
- [Noalyss-commit] [noalyss] 06/06: Documentation, Dany De Bontridder, 2023/06/03
- [Noalyss-commit] [noalyss] 04/06: Improve debug, Dany De Bontridder, 2023/06/03
- [Noalyss-commit] [noalyss] 05/06: Fix #0002291: Apparence Gestion Client Contact, Dany De Bontridder, 2023/06/03