think\Log::__callStatic PHP Method

__callStatic() public static method

静态调用
public static __callStatic ( $method, $args ) : mixed
$method
$args
return mixed
    public static function __callStatic($method, $args)
    {
        if (in_array($method, self::$type)) {
            array_push($args, $method);
            return call_user_func_array('\\think\\Log::record', $args);
        }
    }