Documentation - v7.4.0
    Preparing search index...

    Console methods pre-bound to the original (unpatched) console implementation.

    interface Display {
        debug: { (...data: any[]): void; (...data: any[]): void };
        error: { (...data: any[]): void; (...data: any[]): void };
        info: { (...data: any[]): void; (...data: any[]): void };
        log: { (...data: any[]): void; (...data: any[]): void };
        warn: { (...data: any[]): void; (...data: any[]): void };
    }
    Index

    Properties

    Properties

    debug: { (...data: any[]): void; (...data: any[]): void }

    Type Declaration

      • (...data: any[]): void
      • The console.debug() static method outputs a message to the console at the "debug" log level. The message is only displayed to the user if the console is configured to display debug output. In most cases, the log level is configured within the console UI. This log level might correspond to the Debug or Verbose log level.

        MDN Reference

        Parameters

        • ...data: any[]

        Returns void

      • (...data: any[]): void
      • The console.debug() static method outputs a message to the console at the "debug" log level. The message is only displayed to the user if the console is configured to display debug output. In most cases, the log level is configured within the console UI. This log level might correspond to the Debug or Verbose log level.

        MDN Reference

        Parameters

        • ...data: any[]

        Returns void

    error: { (...data: any[]): void; (...data: any[]): void }

    Type Declaration

      • (...data: any[]): void
      • The console.error() static method outputs a message to the console at the "error" log level. The message is only displayed to the user if the console is configured to display error output. In most cases, the log level is configured within the console UI. The message may be formatted as an error, with red colors and call stack information.

        MDN Reference

        Parameters

        • ...data: any[]

        Returns void

      • (...data: any[]): void
      • The console.error() static method outputs a message to the console at the "error" log level. The message is only displayed to the user if the console is configured to display error output. In most cases, the log level is configured within the console UI. The message may be formatted as an error, with red colors and call stack information.

        MDN Reference

        Parameters

        • ...data: any[]

        Returns void

    info: { (...data: any[]): void; (...data: any[]): void }

    Type Declaration

      • (...data: any[]): void
      • The console.info() static method outputs a message to the console at the "info" log level. The message is only displayed to the user if the console is configured to display info output. In most cases, the log level is configured within the console UI. The message may receive special formatting, such as a small "i" icon next to it.

        MDN Reference

        Parameters

        • ...data: any[]

        Returns void

      • (...data: any[]): void
      • The console.info() static method outputs a message to the console at the "info" log level. The message is only displayed to the user if the console is configured to display info output. In most cases, the log level is configured within the console UI. The message may receive special formatting, such as a small "i" icon next to it.

        MDN Reference

        Parameters

        • ...data: any[]

        Returns void

    log: { (...data: any[]): void; (...data: any[]): void }

    Type Declaration

      • (...data: any[]): void
      • The console.log() static method outputs a message to the console.

        MDN Reference

        Parameters

        • ...data: any[]

        Returns void

      • (...data: any[]): void
      • The console.log() static method outputs a message to the console.

        MDN Reference

        Parameters

        • ...data: any[]

        Returns void

    warn: { (...data: any[]): void; (...data: any[]): void }

    Type Declaration

      • (...data: any[]): void
      • The console.warn() static method outputs a warning message to the console at the "warning" log level. The message is only displayed to the user if the console is configured to display warning output. In most cases, the log level is configured within the console UI. The message may receive special formatting, such as yellow colors and a warning icon.

        MDN Reference

        Parameters

        • ...data: any[]

        Returns void

      • (...data: any[]): void
      • The console.warn() static method outputs a warning message to the console at the "warning" log level. The message is only displayed to the user if the console is configured to display warning output. In most cases, the log level is configured within the console UI. The message may receive special formatting, such as yellow colors and a warning icon.

        MDN Reference

        Parameters

        • ...data: any[]

        Returns void