UNPKG

@logtape/sentry

Version:

LogTape Sentry sink

17 lines (14 loc) 476 B
import { Client } from "@sentry/core"; import { Sink } from "@logtape/logtape"; //#region mod.d.ts /** * 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. */ declare function getSentrySink(client?: Client): Sink; //# sourceMappingURL=mod.d.ts.map //#endregion export { getSentrySink }; //# sourceMappingURL=mod.d.ts.map