This commit is contained in:
Daniil Gentili 2018-03-02 12:08:41 +01:00
parent e3e5f730fd
commit e515e9d103

View File

@ -91,7 +91,7 @@ class Logger
public static function log($param, $level = self::NOTICE)
{
if (self::$mode === 4) {
return call_user_func_array(self::$optional, [is_array($params) ? $params : [$params], $level]);
return call_user_func_array(self::$optional, [$param, $level]);
}
if ($level > self::$level) {
return false;