interface Options {
    getBreadcrumbCategory?: <T extends Metadata>(
        record: LogRecord<T>,
    ) => undefined | string;
    getBreadcrumbType?: <T extends Metadata>(
        record: LogRecord<T>,
    ) => undefined | string;
    getTags?: <T extends MetadataWithError>(
        record: LogRecord<T>,
    ) => Record<string, string>;
    getUser?: <T extends MetadataWithError>(
        record: LogRecord<T>,
    ) => undefined | User;
    shouldSendAsBreadcrumb?: <T extends Metadata>(
        record: LogRecord<T>,
    ) => boolean;
    shouldSendAsException?: <T extends MetadataWithError>(
        record: LogRecord<T>,
    ) => boolean;
}

Properties

getBreadcrumbCategory?: <T extends Metadata>(
    record: LogRecord<T>,
) => undefined | string
getBreadcrumbType?: <T extends Metadata>(
    record: LogRecord<T>,
) => undefined | string
getTags?: <T extends MetadataWithError>(
    record: LogRecord<T>,
) => Record<string, string>
getUser?: <T extends MetadataWithError>(
    record: LogRecord<T>,
) => undefined | User
shouldSendAsBreadcrumb?: <T extends Metadata>(record: LogRecord<T>) => boolean
shouldSendAsException?: <T extends MetadataWithError>(
    record: LogRecord<T>,
) => boolean