GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • @maxgraph/core

This view

  • Original page
  • New address

GeezerVison is showing maxgraph.github.io — MaxLogAsLogger | @maxgraph/core

  • MaxLogAsLogger

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.

Since

0.11.0

Implements

  • Logger
  • Defined in gui/MaxLogAsLogger.ts:30
Index

Constructors

constructor

Methods

debug enter error info leave show trace warn

Constructors

constructor

  • new MaxLogAsLogger(): MaxLogAsLogger
    Experimental

    Returns MaxLogAsLogger

Methods

debug

  • debug(message: string): void
    Experimental

    Parameters

    • message: string

    Returns void

    Implementation of Logger.debug

    • Defined in gui/MaxLogAsLogger.ts:47

enter

  • enter(message: string): number | undefined
    Experimental

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

    Parameters

    • message: string

    Returns number | undefined

    may return undefined hen the TRACE level is not enabled.

    Implementation of Logger.enter

    • Defined in gui/MaxLogAsLogger.ts:31

error

  • error(message: string, ...optionalParams: any[]): void
    Experimental

    Parameters

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

    Returns void

    Implementation of Logger.error

    • Defined in gui/MaxLogAsLogger.ts:51

info

  • info(message: string): void
    Experimental

    Parameters

    • message: string

    Returns void

    Implementation of Logger.info

    • Defined in gui/MaxLogAsLogger.ts:43

leave

  • leave(message: string, baseTimestamp?: number): 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

    See

    enter for an example.

    Implementation of Logger.leave

    • Defined in gui/MaxLogAsLogger.ts:35

show

  • show(): void
    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

    Implementation of Logger.show

    • Defined in gui/MaxLogAsLogger.ts:39

trace

  • trace(message: string): void
    Experimental

    Parameters

    • message: string

    Returns void

    Implementation of Logger.trace

    • Defined in gui/MaxLogAsLogger.ts:56

warn

  • warn(message: string): void
    Experimental

    Parameters

    • message: string

    Returns void

    Implementation of Logger.warn

    • Defined in gui/MaxLogAsLogger.ts:60

Settings

Member Visibility
  • Protected
  • Inherited
Theme

On This Page

Constructors
constructor
Methods
debugentererrorinfoleaveshowtracewarn
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.