ioBroker.js-controller icon indicating copy to clipboard operation
ioBroker.js-controller copied to clipboard

add possibility to log objects to log functions

Open jogibear9988 opened this issue 5 years ago • 7 comments

at the moment many people are logging data like this:

  adapter.log.debug('blabla ' + JSON.stringify(obj)) 

wich is inefficient, cause the JSONS to string conversation is also done, even if loglevel is not active! would be better if we could do this:

 adapter.log.debug('blabla ', obj) 

jogibear9988 avatar Jan 16 '19 22:01 jogibear9988