Hi All,It would be good to have an API which take message format, arguments and throwable parameters at all levels of logging.
As of now, how we are doing it is to use below mentioned way of logging(kind of hack).
logger.error( messageFormat, arguments );
logger.error( messageFormat, throwable );
Which is kind of ugly but still works as a hack. The disadvantage of this kind of logging is that, it send 2 log events instead of 1 event.
let me know your view on this folks.
Thanks,
Adarsh