Class MaxLogAsLoggerExperimental

A Logger that uses MaxLog to log messages.

Notice that the log level for this logger are configured in MaxLog.

subject to change or removal. The logging system may be modified in the future without prior notice.

0.11.0

Implements

Constructors

Methods

  • Experimental

    Log the specified string at TRACE level and returns the current time in milliseconds.

    Parameters

    • message: string

    Returns undefined | number

    may return undefined hen the TRACE level is not enabled.

  • Experimental

    Parameters

    • message: string
    • Rest...optionalParams: any[]

    Returns void

  • Experimental

    Log the specified string at TRACE level and also log the difference between the current time and t0 in milliseconds.

    Parameters

    • message: string
    • OptionalbaseTimestamp: number

    Returns void

    enter for an example.

  • Experimental

    Shows the console in the UI. This may produce no effect in some implementation which doesn't rely on the UI to log.

    Returns void