We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d81eb3b commit 5388d82Copy full SHA for 5388d82
packages/core/src/types-hoist/options.ts
@@ -526,22 +526,3 @@ export interface CoreOptions<TO extends BaseTransportOptions = BaseTransportOpti
526
*/
527
stackParser?: StackParser | StackLineParser[];
528
}
529
-
530
-function myBeforeSendLog(log: Log) {
531
- log.attributes = {
532
- ...log.attributes,
533
- myAttribute: 'myAttributeValue',
534
- };
535
536
- if (log.attributes?.['myAttribute'] === 'something') {
537
- log.attributes['myAttribute'] = 'something else';
538
- }
539
540
- log.attributes['otherAttribute'] = log.attributes['myAttribute'];
541
542
- delete log.attributes['myAttribute'];
543
544
- log.attributes['myAttribute'];
545
546
- return log;
547
-}
0 commit comments