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 — NoOpLogger | @maxgraph/core

  • NoOpLogger

Class NoOpLoggerExperimental

A Logger that does nothing.

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 util/logger.ts:28
Index

Constructors

constructor

Methods

debug enter error info leave show trace warn

Constructors

constructor

  • new NoOpLogger(): NoOpLogger
    Experimental

    Returns NoOpLogger

Methods

debug

  • debug(_message: string): void
    Experimental

    Parameters

    • _message: string

    Returns void

    Implementation of Logger.debug

    • Defined in util/logger.ts:29

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 util/logger.ts:31

error

  • error(_message: string, ..._optionalParams: any[]): void
    Experimental

    Parameters

    • _message: string
    • ..._optionalParams: any[]

    Returns void

    Implementation of Logger.error

    • Defined in util/logger.ts:35

info

  • info(_message: string): void
    Experimental

    Parameters

    • _message: string

    Returns void

    Implementation of Logger.info

    • Defined in util/logger.ts:37

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
    • Optional_baseTimestamp: number

    Returns void

    See

    enter for an example.

    Implementation of Logger.leave

    • Defined in util/logger.ts:39

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 util/logger.ts:41

trace

  • trace(_message: string): void
    Experimental

    Parameters

    • _message: string

    Returns void

    Implementation of Logger.trace

    • Defined in util/logger.ts:43

warn

  • warn(_message: string): void
    Experimental

    Parameters

    • _message: string

    Returns void

    Implementation of Logger.warn

    • Defined in util/logger.ts:45

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.