File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ function valueToAttribute(key: string, value: unknown): LogAttribute {
75
75
default :
76
76
return {
77
77
key,
78
- value : { stringValue : JSON . stringify ( value ) ?? "" } ,
78
+ value : { stringValue : JSON . stringify ( value ) ?? '' } ,
79
79
} ;
80
80
}
81
81
}
@@ -118,11 +118,11 @@ export function sendLog(level: LogSeverityLevel, messageArr: TemplateStringsArra
118
118
119
119
const attributes = values . reduce < Record < string , unknown > > (
120
120
( acc , value , index ) => {
121
- acc [ `param${ index } ` ] = value ;
121
+ acc [ `param. ${ index } ` ] = value ;
122
122
return acc ;
123
123
} ,
124
124
{
125
- 'sentry.template' : messageArr . map ( ( s , i ) => s + ( i < messageArr . length - 1 ? `$param${ i } ` : '' ) ) . join ( '' ) ,
125
+ 'sentry.template' : messageArr . map ( ( s , i ) => s + ( i < messageArr . length - 1 ? `$param. ${ i } ` : '' ) ) . join ( '' ) ,
126
126
} ,
127
127
) ;
128
128
You can’t perform that action at this time.
0 commit comments