[slf4j-user] RFC: slf4j-fluent
Federico Fissore
federico at fissore.org
Mon Feb 18 10:40:08 CET 2019
Thank you a ton for the hint Niels and Ceki
I've added support to LocationAwareLogger and now slf4j-fluent logs the
correct calling class name info
I've just deployed the new version, 0.9.0, which will be available on
maven central as soon as they sync their servers
cheers
federico
niels ha scritto il 15/02/19 alle 21:07:
> See the message from Ceki
> "
> Hello Niels,
>
> I am following up on our discussion on stackoverflow.
>
> Since logback-classic exposes its API via SLF4J, you would probably
> want to extend org.slf4j.Logger. See the org.slf4j.ext package for
> extension examples. The org.slf4j.ext.LoggerWrapper [1] class should
> be particularly helpful. See also XLogger [2] and XLoggerFactory [3]
> in the same package. The key here is to invoke LocationAwareLogger
> when you can, i.e. when one of log4j, jul and logback is the
> backend. That is as easy as:
More information about the slf4j-user
mailing list