Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/core/kernel/utility/logger.php
Show First 20 Lines • Show All 534 Lines • ▼ Show 20 Line(s) | |||||
} | } | ||||
elseif ( $value instanceof kBase ) { | elseif ( $value instanceof kBase ) { | ||||
$ret[$key] = (string)$value; | $ret[$key] = (string)$value; | ||||
} | } | ||||
else { | else { | ||||
$ret[$key] = 'Class: ' . get_class($value); | $ret[$key] = 'Class: ' . get_class($value); | ||||
} | } | ||||
} | } | ||||
elseif ( strlen($value) > 200 ) { | |||||
$ret[$key] = substr($value, 0, 50) . ' ...'; | |||||
} | |||||
else { | else { | ||||
$ret[$key] = $value; | $ret[$key] = $value; | ||||
} | } | ||||
} | } | ||||
return $ret; | return $ret; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 793 Lines • Show Last 20 Lines |