updated to remove TODO and credit danbell

This commit is contained in:
Gareth Jones
2011-07-15 09:13:09 +10:00
parent b338b34fd6
commit d64d4ca0ca
2 changed files with 12 additions and 9 deletions

View File

@@ -120,7 +120,16 @@ function messagePassThroughLayout (loggingEvent) {
/**
* PatternLayout
*
* Format for specifiers is %[padding].[truncation][field]{[format]}
* e.g. %5.10p - left pad the log level by 5 characters, up to a max of 10
* Fields can be any of:
* - %r time in toLocaleTimeString format
* - %p log level
* - %c log category
* - %m log data
* - %d date in various formats
* - %% %
* - %n newline
* Takes a pattern string and returns a layout function.
* @author Stephan Strittmatter
*/