core/Logger.php
public static function warn(...$args)
    {
        $logger = self::logger();
        if ($logger) {
            $logger->warn(...$args);
        } else {
            self::send('warn', $args);
        }
    }
public static function warn(...$args)
    {
        $logger = self::logger();
        if ($logger) {
            $logger->warn(...$args);
        } else {
            self::send('warn', $args);
        }
    }
警告信息
@param mixed ...$args