core/Logger.php
public static function error(...$args)
    {
        $logger = self::logger();
        if ($logger) {
            $logger->error(...$args);
        } else {
            self::send('error', $args);
        }
    }
public static function error(...$args)
    {
        $logger = self::logger();
        if ($logger) {
            $logger->error(...$args);
        } else {
            self::send('error', $args);
        }
    }
输出错误信息
@param mixed ...$args