File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ class Logger implements ClassThatLogs {
174
174
* @returns {void }
175
175
*/
176
176
public addPersistentLogAttributes ( attributes ?: LogAttributes ) : void {
177
- this . persistentLogAttributes = merge ( attributes , this . getPersistentLogAttributes ( ) ) ;
177
+ merge ( this . persistentLogAttributes , attributes ) ;
178
178
}
179
179
180
180
/**
@@ -362,7 +362,7 @@ class Logger implements ClassThatLogs {
362
362
*/
363
363
private addToPowertoolLogData ( ...attributesArray : Array < Partial < PowertoolLogData > > ) : void {
364
364
attributesArray . forEach ( ( attributes : Partial < PowertoolLogData > ) => {
365
- this . powertoolLogData = merge ( attributes , this . getPowertoolLogData ( ) ) ;
365
+ merge ( this . powertoolLogData , attributes ) ;
366
366
} ) ;
367
367
}
368
368
You can’t perform that action at this time.
0 commit comments