public static function handle($number = 0, $message = '', $file = '', $line = 0, array $context = [])
    {
        self::$context = $context;
        self::$message = $message;
        self::$number = $number;
        self::$trace = debug_backtrace();
        self::$file = $file;
        self::$line = $line;

        $level = ob_get_level();
        if ($level > 0) {
            for ($i = ob_get_level(); $i >= 0; $i--) {
                ob_clean();
            }
        }

        print('cli' === php_sapi_name() ? static::doCli() : static::doRun());
    }