Hello, I never did that, but SLF4J is only a facade for other logging frameworks. So, I think you can implement your own binding which would intercept the messages, perform whatever changes you want and then forward the result to the underlying "real" logging system / binding.
BR
Ewgenij
Gesendet: Samstag, 18. Oktober 2014 um 16:30 Uhr
Von: "Vitaliy Semochkin" <[email protected]>
An: [email protected]
Betreff: [slf4j-user] amending messages sent to slf4j
Von: "Vitaliy Semochkin" <[email protected]>
An: [email protected]
Betreff: [slf4j-user] amending messages sent to slf4j
Hi
In my project I want to amend messages that were sent to slf4j by other libraries.Is it possible to implement some interface or register some class, so that I can check and amend a message before it goes to log?
Regards
Vitaliy
_______________________________________________ slf4j-user mailing list [email protected] http://mailman.qos.ch/mailman/listinfo/slf4j-user
