Interface ILogger

A Logger that manages logs from a particular source.

Hierarchy

Implemented by

Properties

contentChanged: ISignal<ILogger, IContentChange>

A signal emitted when the log model changes.

isDisposed: boolean

Test whether the object has been disposed.

Notes

This property is always safe to access.

length: number

Number of outputs logged.

level: LogLevel

Log level.

maxLength: number

Max number of messages.

outputAreaModel: ILoggerOutputAreaModel

Output Area Model used to manage log storage in memory.

Rendermime to use when rendering outputs logged.

source: string

The name of the log source.

stateChanged: ISignal<ILogger, IStateChange>

A signal emitted when the rendermime changes.

version: number

The cumulative number of messages the log has stored.

Methods

  • Add a checkpoint in the log.

    Returns void

  • Clear all outputs logged.

    Returns void

  • Dispose of the resources held by the object.

    Notes

    If the object's dispose method is called more than once, all calls made after the first will be a no-op.

    Undefined Behavior

    It is undefined behavior to use any functionality of the object after it has been disposed unless otherwise explicitly noted.

    Returns void

  • Log an output to logger.

    Parameters

    Returns void

Generated using TypeDoc