public class PatternLayout
extends org.apache.log4j.PatternLayout
Normally it is simpler to use this custom class as the layout for any
appender but will not work correctly for async logging with AsyncAppender.
In that case use ThreadIdAppender on top of AsyncAppender.
| Constructor and Description |
|---|
PatternLayout() |
PatternLayout(java.lang.String pattern) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
format(org.apache.log4j.spi.LoggingEvent event) |
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.