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 c92d866 commit 5a0e041Copy full SHA for 5a0e041
packages/core/src/types-hoist/options.ts
@@ -540,22 +540,3 @@ export interface CoreOptions<TO extends BaseTransportOptions = BaseTransportOpti
540
*/
541
stackParser?: StackParser | StackLineParser[];
542
}
543
-
544
-function myBeforeSendLog(log: Log) {
545
- log.attributes = {
546
- ...log.attributes,
547
- myAttribute: 'myAttributeValue',
548
- };
549
550
- if (log.attributes?.['myAttribute'] === 'something') {
551
- log.attributes['myAttribute'] = 'something else';
552
- }
553
554
- log.attributes['otherAttribute'] = log.attributes['myAttribute'];
555
556
- delete log.attributes['myAttribute'];
557
558
- log.attributes['myAttribute'];
559
560
- return log;
561
-}
0 commit comments