improved logging for boolean vars
This commit is contained in:
parent
e459f739f2
commit
cc5acf3c9e
@ -32,6 +32,8 @@ class Logging {
|
||||
{
|
||||
if (is_array($p_msg) || is_object($p_msg)) {
|
||||
return print_r($p_msg, true);
|
||||
} else if (is_bool($p_msg)) {
|
||||
return $p_msg ? "true" : "false";
|
||||
} else {
|
||||
return $p_msg;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user