Skip to content

Commit 1bc5b4f

Browse files
committed
No breaking changes!
1 parent fe0a46e commit 1bc5b4f

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

dev-packages/node-integration-tests/suites/pino/scenario-track.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ setTimeout(() => {
2323

2424
// This child should be ignored
2525
const child2 = logger.child({ module: 'authentication.v2' });
26-
Sentry.pinoIntegration.ignoreLogger(child2);
26+
Sentry.pinoIntegration.untrackLogger(child2);
2727
child2.error(new Error('oh no v2'));
2828

2929
// This should also be ignored as the parent is ignored

dev-packages/node-integration-tests/suites/pino/scenario.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import pino from 'pino';
44
const logger = pino({ name: 'myapp' });
55

66
const ignoredLogger = pino({ name: 'ignored' });
7-
Sentry.pinoIntegration.ignoreLogger(ignoredLogger);
7+
Sentry.pinoIntegration.untrackLogger(ignoredLogger);
88

99
ignoredLogger.info('this will not be tracked');
1010

packages/angular/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
## Angular Version Compatibility
1818

19-
This SDK officially supports Angular 14 to 19.
19+
This SDK officially supports Angular 14 to 20.
2020

2121
If you're using an older Angular version please check the
2222
[compatibility table in the docs](https://docs.sentry.io/platforms/javascript/guides/angular/#angular-version-compatibility).

packages/node-core/src/integrations/pino.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,14 +203,14 @@ interface PinoIntegrationFunction {
203203
*
204204
* @param logger A Pino logger instance.
205205
*/
206-
ignoreLogger(logger: unknown): void;
206+
untrackLogger(logger: unknown): void;
207207
}
208208

209209
/**
210210
* Integration for Pino logging library.
211211
* Captures Pino logs as Sentry logs and optionally captures some log levels as events.
212212
*
213-
* By default, all Pino loggers will be captured. To ignore a specific logger, use `pinoIntegration.ignoreLogger(logger)`.
213+
* By default, all Pino loggers will be captured. To ignore a specific logger, use `pinoIntegration.untrackLogger(logger)`.
214214
*
215215
* If you disable automatic instrumentation with `autoInstrument: false`, you can mark specific loggers to be tracked with `pinoIntegration.trackLogger(logger)`.
216216
*
@@ -222,7 +222,7 @@ export const pinoIntegration = Object.assign(_pinoIntegration, {
222222
(logger as Pino)[SENTRY_TRACK_SYMBOL] = 'track';
223223
}
224224
},
225-
ignoreLogger(logger: unknown): void {
225+
untrackLogger(logger: unknown): void {
226226
if (logger && typeof logger === 'object' && 'levels' in logger) {
227227
(logger as Pino)[SENTRY_TRACK_SYMBOL] = 'ignore';
228228
}

0 commit comments

Comments
 (0)