gwm4ja
Last Updated: May 02, 2017
·
17
· hascode

Logging Framework Parameter Placeholders (SLF4J, JULI, Seam)

SLF4J

log.info("{}, {}", "Hello", "World");

JULI Logger

log.log(Level.INFO, "{0}, {1}", new Object[]{"Hello", "World"});

Seam Logger

log.info("#0, #1", "Hello", "World");
Say Thanks
Respond