@logtape/sentry
Version:
LogTape Sentry sink
17 lines (14 loc) • 477 B
text/typescript
import { Sink } from "@logtape/logtape";
import { Client } from "@sentry/core";
//#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.cts.map