feat!: API options object support to control sentry handling; removal of logger.sentry.
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/publish Pipeline was successful

# Conflicts:
#	README.md
#	src/logger.ts
#	src/sinks/sentry.ts
#	test/logger.test.ts
This commit is contained in:
2026-08-07 12:10:38 -03:00
parent 6bee3a801d
commit 234226e2bb
5 changed files with 16 additions and 20 deletions
+3 -1
View File
@@ -180,7 +180,9 @@ describe("createLogger", () => {
logger.info("probe", { sentry: true });
expect(destination.events).toHaveLength(2);
expect(
destination.events.every((event) => !event.sendToSentryIssue && !event.sendToSentryLogs),
destination.events.every(
(event) => !event.sendToSentryIssue && !event.sendToSentryLogs,
),
).toBe(true);
});