Vinyl
    Preparing search index...

    Class VinylErrorLogger

    Provides a log method to log messages to the Vinyl Logging service.

    Implements

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    "[toStringTag]": string = 'VinylErrorLogger'
    logPrefix: string = ...

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

    Accessors

    • get disposed(): boolean

      Returns boolean

    Methods

    • Parameters

      • newOptions: {
            authProvider?: null | VinylErrorLoggingAuthProvider;
            endpoint?: string;
            maxMessages?: number;
        }
        • Optional ReadonlyauthProvider?: null | VinylErrorLoggingAuthProvider

          Provides the fields necessary to authorize a logging request.

        • Optional Readonlyendpoint?: string

          The url of the rest logger endpoint. If null, CloudWatch logging will be disabled.

        • Optional ReadonlymaxMessages?: number

          The maximum number of errors a single client may report. Limits 'spammy' clients.

      Returns void

    • Returns void

    • Logs the given message to a service endpoint.

      Type Parameters

      • T

      Parameters

      Returns void