UNPKG

@logtape/sentry

Version:
11 lines 473 B
import type { Sink } from "@logtape/logtape"; import { type BaseClient } from "@sentry/core"; import type { ClientOptions } from "@sentry/types"; /** * Gets a LogTape sink that sends logs to Sentry. * @param client The Sentry client. If omitted, the global default client is * used. * @returns A LogTape sink that sends logs to Sentry. */ export declare function getSentrySink(client?: BaseClient<ClientOptions>): Sink; //# sourceMappingURL=mod.d.ts.map