File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -98,19 +98,19 @@ export class RedisAdapter implements ICacheAdapter {
9898
9999 public async deleteKey ( key : string ) : Promise < number > {
100100 await this . connection
101- debug ( 'delete %s key' , key )
101+ logger ( 'delete %s key' , key )
102102 return this . client . del ( key )
103103 }
104104
105105 public async getHKey ( key : string , field : string ) : Promise < string > {
106106 await this . connection
107- debug ( 'get %s field for key %s' , field , key )
107+ logger ( 'get %s field for key %s' , field , key )
108108 return await this . client . hGet ( key , field ) ?? ''
109109 }
110110
111111 public async setHKey ( key : string , fields : Record < string , string > ) : Promise < boolean > {
112112 await this . connection
113- debug ( 'set %s key' , key )
113+ logger ( 'set %s key' , key )
114114 return await this . client . hSet ( key , fields ) >= 0
115115 }
116116
You can’t perform that action at this time.
0 commit comments