This commit is contained in:
Daniil Gentili 2017-05-17 17:06:25 +01:00
commit 9f974cbaaa
2 changed files with 4 additions and 1 deletions

View File

@ -76,6 +76,7 @@ class Logger
return $d;
}
public static function log($params, $level = self::NOTICE)
{
if (!self::$constructed) {

View File

@ -298,7 +298,9 @@ trait TL
return $concat;
case 'bytes':
if (is_array($object)) $object = pack('C*', ...$object);
if (is_array($object)) {
$object = pack('C*', ...$object);
}
$l = strlen($object);
$concat = '';
if ($l <= 253) {