Commit 44e89ecea009348c6c9ca9928c1bdb1ac8a5720f

Authored by Adhidarma Hadiwinoto
1 parent e745b4ca34
Exists in master

detail logging di topUpInquiry

Showing 1 changed file with 3 additions and 4 deletions Side-by-side Diff

... ... @@ -200,16 +200,15 @@ function checkStatus(task) {
200 200 }
201 201  
202 202 var methodName = 'topUpInquiry';
203   - logger.info('methodName: ' + methodName);
204   -
  203 +
205 204 var params = {
206 205 MSISDN: config.h2h_out.userid,
207 206 REQUESTID: task['requestId'],
208 207 PIN: config.h2h_out.password,
209 208 NOHP: task['destination']
210 209 };
211   - logger.info('PARAMS:');
212   - logger.info(params);
  210 +
  211 + logger.info('Requesting topUpInquiry', {params: params});
213 212  
214 213 client.methodCall(methodName, [ params ], function (error, value) {
215 214 // Results of the method response