improved logging for boolean vars

This commit is contained in:
Martin Konecny 2013-01-30 14:34:06 -05:00
parent e459f739f2
commit cc5acf3c9e
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}