Auto Task API
    Preparing search index...

    Interface logStatus

    日志状态接口定义

    interface logStatus {
        error: (text?: string, html?: boolean) => logStatus;
        font?: JQuery<HTMLElement>;
        info: (text?: string, html?: boolean) => logStatus;
        remove: () => logStatus;
        setBefore: (before: string) => logStatus;
        skipped: (text: string) => logStatus;
        success: (text?: string, html?: boolean) => logStatus;
        view: () => logStatus;
        warning: (text?: string, html?: boolean) => logStatus;
    }
    Index
    error: (text?: string, html?: boolean) => logStatus

    记录错误状态。

    Type Declaration

      • (text?: string, html?: boolean): logStatus
      • Parameters

        • Optionaltext: string

          待处理的文本;可省略。

        • Optionalhtml: boolean

          待解析或显示的 HTML 内容;可省略。

        Returns logStatus

        可继续更新同一条日志的状态控制器。

    font?: JQuery<HTMLElement>
    info: (text?: string, html?: boolean) => logStatus

    记录信息状态。

    Type Declaration

      • (text?: string, html?: boolean): logStatus
      • Parameters

        • Optionaltext: string

          待处理的文本;可省略。

        • Optionalhtml: boolean

          待解析或显示的 HTML 内容;可省略。

        Returns logStatus

        可继续更新同一条日志的状态控制器。

    remove: () => logStatus

    移除指定记录或界面元素。

    Type Declaration

    setBefore: (before: string) => logStatus

    设置操作前置处理器。

    Type Declaration

      • (before: string): logStatus
      • Parameters

        • before: string

          执行前的状态或前置处理函数。

        Returns logStatus

        可继续更新同一条日志的状态控制器。

    skipped: (text: string) => logStatus

    标记已跳过的任务,并将说明作为纯文本显示。

    success: (text?: string, html?: boolean) => logStatus

    记录操作成功状态。

    Type Declaration

      • (text?: string, html?: boolean): logStatus
      • Parameters

        • Optionaltext: string

          待处理的文本;可省略。

        • Optionalhtml: boolean

          待解析或显示的 HTML 内容;可省略。

        Returns logStatus

        可继续更新同一条日志的状态控制器。

    view: () => logStatus

    更新界面视图。

    Type Declaration

    warning: (text?: string, html?: boolean) => logStatus

    记录警告状态。

    Type Declaration

      • (text?: string, html?: boolean): logStatus
      • Parameters

        • Optionaltext: string

          待处理的文本;可省略。

        • Optionalhtml: boolean

          待解析或显示的 HTML 内容;可省略。

        Returns logStatus

        可继续更新同一条日志的状态控制器。