Layouts

Layouts are components of the logging process. A layout determines the output format of a log statement.

A layout is always associated with an appender. For example, a Conversion Pattern such as: %d{dd MMM yyyy HH:mm:ss:SSS} [%-2p] %m%n, results in the following log statement: 2007-05-07 14:07:41,508 [main] INFO MyApp - Entering application;



Feedback