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 561085c commit e575427Copy full SHA for e575427
packages/core/src/types-hoist/options.ts
@@ -518,22 +518,3 @@ export interface CoreOptions<TO extends BaseTransportOptions = BaseTransportOpti
518
*/
519
stackParser?: StackParser | StackLineParser[];
520
}
521
-
522
-function myBeforeSendLog(log: Log) {
523
- log.attributes = {
524
- ...log.attributes,
525
- myAttribute: 'myAttributeValue',
526
- };
527
528
- if (log.attributes?.['myAttribute'] === 'something') {
529
- log.attributes['myAttribute'] = 'something else';
530
- }
531
532
- log.attributes['otherAttribute'] = log.attributes['myAttribute'];
533
534
- delete log.attributes['myAttribute'];
535
536
- log.attributes['myAttribute'];
537
538
- return log;
539
-}
0 commit comments