You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to use the methods from the slf4j Logger interface that receive a throwable, like for example public void debug(String msg, Throwable t) but the static wrapper does not implement them.
Trying to decorate the Logger static wrapper won't work either because the decorator won't be able to access this method:
private static org.slf4j.Logger logger(final Object source)
which is crucial to implement the decorator.
How can I workaround this issue?
Thanks.
The text was updated successfully, but these errors were encountered:
@dabd yes sure, for all five logging levels. Would you be interested to submit a pull request with these changes? Should be easy to implement, I guess.
I'd like to use the methods from the slf4j Logger interface that receive a throwable, like for example public void debug(String msg, Throwable t) but the static wrapper does not implement them.
Trying to decorate the Logger static wrapper won't work either because the decorator won't be able to access this method:
private static org.slf4j.Logger logger(final Object source)
which is crucial to implement the decorator.
How can I workaround this issue?
Thanks.
The text was updated successfully, but these errors were encountered: