added the feature info in the debug message function and added also a demo-example
This commit is contained in:
@@ -58,7 +58,8 @@ function resolve_page() {
|
||||
$debug_messages = [
|
||||
'High' => [],
|
||||
'Medium' => [],
|
||||
'Low' => []
|
||||
'Low' => [],
|
||||
'Info' => []
|
||||
];
|
||||
|
||||
// FUNCTION TO GET DEBUG STATUS MESSAGES
|
||||
@@ -100,6 +101,7 @@ function displayDebug() {
|
||||
$color = '#6cef93';
|
||||
if ($level === 'High') $color = '#ff4444';
|
||||
if ($level === 'Medium') $color = '#ffbb33';
|
||||
if ($level === 'Info') $color = '#4444ff';
|
||||
|
||||
echo "<div style='margin-bottom: 10px;'>";
|
||||
echo "<strong style='color: $color;'>[" . $level . "]</strong>";
|
||||
|
||||
Reference in New Issue
Block a user