Amazon Vinyl
    Preparing search index...

    Class LoggerImpl

    The interface for a basic logger implementation.

    Hierarchy (View Summary)

    Implements

    Index
    logLevel: LogLevel = LogLevel.DEBUG
    logPrefix: string = ...

    A string prefix for all log statements made by this target.

    • get "[toStringTag]"(): string

      Returns string

    • Dispatches an event.

      Type Parameters

      • K extends "log"

      Parameters

      • type: K

        The key of the event within EventMap

      • event: LogEventMap[K]

        If the passed event is read-only, then it may be re-used/cached. Otherwise, it should be a new event object every dispatch. If no target property is set on the event, the target will be set to this host.

      Returns void