Pipit - v2.0.1
    Preparing search index...

    Interface SendToSentryOptions

    Options of the sendToSentry processor.

    interface SendToSentryOptions {
        formatMessage?: (message: LogMessage) => string;
        getAdditionalCaptureOptions?: (
            message: LogMessage,
        ) => void | object | undefined;
    }
    Index

    Properties

    formatMessage?: (message: LogMessage) => string

    Formats message as a string.

    By default, the first message argument is stringified.

    Type Declaration

    getAdditionalCaptureOptions?: (message: LogMessage) => void | object | undefined

    Returns additional capture options for the message.

    By default, message level and context are extracted.

    Type Declaration

      • (message: LogMessage): void | object | undefined
      • Parameters

        • message: LogMessage

          The message to extract options from.

        Returns void | object | undefined