File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -247,8 +247,12 @@ export class LogObjectBuilder {
247
247
} ,
248
248
createdAt : new Date ( this . logData . createdAt ?. getTime ( ) ?? Date . now ( ) ) ,
249
249
lastUsedOptionIndex : this . logData . lastUsedOptionIndex ,
250
+ cacheKey : this . logData . cacheKey ,
250
251
cacheMode : this . logData . cacheMode ,
251
252
cacheMaxAge : this . logData . cacheMaxAge ,
253
+ cacheStatus : this . logData . cacheStatus ,
254
+ hookSpanId : this . logData . hookSpanId ,
255
+ executionTime : this . logData . executionTime ,
252
256
} ;
253
257
if ( this . logData . transformedRequest ) {
254
258
clonedLogData . transformedRequest = {
@@ -267,12 +271,6 @@ export class LogObjectBuilder {
267
271
if ( this . logData . response ) {
268
272
clonedLogData . response = this . logData . response ; // we don't need to clone the response, it's already cloned in the addResponse function
269
273
}
270
- if ( this . logData . hookSpanId ) {
271
- clonedLogData . hookSpanId = this . logData . hookSpanId ;
272
- }
273
- if ( this . logData . executionTime ) {
274
- clonedLogData . executionTime = this . logData . executionTime ;
275
- }
276
274
return clonedLogData ;
277
275
}
278
276
You can’t perform that action at this time.
0 commit comments