The Debug-Class offers functions known from the console-object and additions, routing the information to various DebugTargets that can be easily defined by the developers and registerd by users Override functions in subclasses of DebugTarget and register them as their delegates

Constructors

Methods

  • Displays critical information about failures, which is emphasized e.g. by color

    Parameters

    • _message: unknown
    • Rest ..._args: unknown[]

    Returns void

  • Displays messages from FUDGE

    Parameters

    • _message: unknown
    • Rest ..._args: unknown[]

    Returns void

  • Opens a new group for messages that is collapsed at first

    Parameters

    • _name: string

    Returns void

  • Info(...) displays additional information with low priority

    Parameters

    • _message: unknown
    • Rest ..._args: unknown[]

    Returns void

  • Displays information with medium priority

    Parameters

    • _message: unknown
    • Rest ..._args: unknown[]

    Returns void

  • Displays messages about the source of the debug call

    Parameters

    • _message: unknown
    • Rest ..._args: unknown[]

    Returns void

  • Displays information about non-conformities in usage, which is emphasized e.g. by color

    Parameters

    • _message: unknown
    • Rest ..._args: unknown[]

    Returns void