Class Console

Hierarchy

  • Console

Constructors

Methods

  • Writes the formatted input to the debug log file.

    Parameters

    • Rest ...input: unknown[]

    Returns void

    Note

    This function does not invoke text rendering mode, so it can safely be used when rendering with the Canvas API.

  • Logs the formatted input to the screen as red text.

    Parameters

    • Rest ...input: unknown[]

    Returns void

  • Logs the formatted input to the screen as white text.

    Parameters

    • Rest ...input: unknown[]

    Returns void

  • Prints string s to the console on the screen, without any formatting applied. Newline is not appending to the end of the string.

    Parameters

    • s: string

      The text to print to the console.

    Returns void

  • Prints string s to the debug log file, without any formatting applied. Newline is not appending to the end of the string.

    Parameters

    • s: string

      The text to print to the log file.

    Returns void

    Note

    This function does not invoke text rendering mode, so it can safely be used when rendering with the Canvas API.

  • Logs the formatted input to the screen as white text, including a stack trace of where the function was invoked.

    Parameters

    • Rest ...input: unknown[]

    Returns void

  • Logs the formatted input to the screen as yellow text.

    Parameters

    • Rest ...input: unknown[]

    Returns void

Generated using TypeDoc