java-tutorials/testing-modules/testing-assertions
Michaël Goossens b9fd869c02 Also consider string interpolation
The above example only works when logging a string without using string interpolation. For example the following log statement: log.debug("This is a log from {}", "David"). This would result in event.getMessage() returning "This is a log from {}" while you would like to see the processed form "This is a log from David". The getMessage().toString() only returns the former while toString() on the event will return the latter. Furthermore the toString() method is redundant on getMessage() as it already is a string.
2021-07-15 23:26:49 +02:00
..
src Also consider string interpolation 2021-07-15 23:26:49 +02:00
README.md Update README.md 2020-09-16 22:57:59 +08:00
pom.xml JAVA-5223: Fix formatting of POMs (Testing Modules) 2021-05-17 20:23:43 +05:30