-
Notifications
You must be signed in to change notification settings - Fork 151
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
@Loggagle error level for exceptions #259
Comments
@Maze-fr/z this project will fix the problem faster if you donate a few dollars to it; just click here and pay via Stripe, it's very fast, convenient and appreciated; thanks a lot! |
Job #259 is now in scope, role is |
Thanks for your contribution, @Maze-fr/z! If you would be a member of the project, you would now earn +15 reputation points, as explained in §29. You can join and apply to it, see §2. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
It would be nice to be able to say to
@Loggable
that when an exception is thrown, it should log with another level (like ERROR, for example).Currently, it is logging with the same level as the level defined (so default is INFO).
I explain...
When working on the project, INFO is enough to track what is going on. But when in production, the logging level is probably set to WARN, so when the method fails with an exception, it is logged as INFO and we don't see it.
I think that a lot of people would love to have their method parameters when the method fails with an exception ;-)
And from what I see in
MethodLogger.java
, it would be very easy to add this new feature.Thanks
The text was updated successfully, but these errors were encountered: