Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation doesn't mention how to log exceptions #68

Closed
krzyk opened this issue Oct 16, 2015 · 2 comments
Closed

Documentation doesn't mention how to log exceptions #68

krzyk opened this issue Oct 16, 2015 · 2 comments

Comments

@krzyk
Copy link

krzyk commented Oct 16, 2015

I can't find in documentation (README.md, javadocs or log.jcabi.com) how to log exceptions (exception name + message + stacktrace).
Please add example into README.md and javadoc of Logger on how to log exceptions.

@dmarkov
Copy link

dmarkov commented Oct 19, 2015

@yegor256 take a look at this issue please and dispatch it somehow, see par.21

@yegor256
Copy link
Member

@krzyk this page explains it: http://log.jcabi.com/decors.html

Logger.info(this, "failure: %[exception]s", ex);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants