Re: Let SLF4J do the Log4j2 Message formatting as needed

2023-08-10 Thread Piotr P. Karwasz
Hi Benjamin, On Thu, 10 Aug 2023 at 14:45, Benjamin Krahl wrote: > > Currently SLF4JLogger in Log4j 2 will format all messages before it passes > these to SLF4J. I think this does not need to be the case. > > SLF4J FAQ states that: > "Assuming comp

Let SLF4J do the Log4j2 Message formatting as needed

2023-08-10 Thread Benjamin Krahl
Currently SLF4JLogger in Log4j 2 will format all messages before it passes these to SLF4J. I think this does not need to be the case. SLF4J FAQ states that: "Assuming complexObject is an object of certain complexity, for a log statement of level DEB