Bugfix
This commit is contained in:
parent
e3e5f730fd
commit
e515e9d103
@ -91,7 +91,7 @@ class Logger
|
|||||||
public static function log($param, $level = self::NOTICE)
|
public static function log($param, $level = self::NOTICE)
|
||||||
{
|
{
|
||||||
if (self::$mode === 4) {
|
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) {
|
if ($level > self::$level) {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user