Hi all,
Jaggery Log hostobject has been improved[1] in Jaggery master to support
both a message and the exception object as in log4j API. i.e. You can log
use it as below for all log levels.
log.error(e) //print the stacktrace
log.error('my error messge') //print the message
log.error('my error message', e) //print both message and stacktrace
FYI.
[1] https://github.com/wso2/jaggery/issues/105
/Ruchira
--
*Ruchira Wageesha**Associate Technical Lead*
*WSO2 Inc. - lean . enterprise . middleware | wso2.com <http://wso2.com>*
*email: [email protected] <[email protected]>, blog:
ruchirawageesha.blogspot.com <http://ruchirawageesha.blogspot.com>,
mobile: +94 77 5493444*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev