[slf4j-dev] Regarding new SLF4J API

Adax Adarsh adax.tm126 at gmail.com
Thu Mar 19 09:21:36 CET 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/slf4j-dev/attachments/20150319/c2f8e84d/attachment.html>


More information about the slf4j-dev mailing list