@maxgraph/core
    Preparing search index...

    Class ConsoleLoggerExperimental

    A Logger that directs logs to the browser console.

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

    0.11.0

    Implements

    Index

    Constructors

    Properties

    debugEnabled: boolean = false
    infoEnabled: boolean = false
    traceEnabled: boolean = false

    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

      • Optionalmessage: any
      • ...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