public class JsonLog4jLayout
extends org.apache.log4j.Layout
Context
class.Constructor and Description |
---|
JsonLog4jLayout() |
Modifier and Type | Method and Description |
---|---|
void |
activateOptions() |
String |
format(org.apache.log4j.spi.LoggingEvent loggingEvent) |
boolean |
ignoresThrowable() |
void |
setDateFormatPattern(String dateFormatPattern)
Property for specifying date format.
|
public void setDateFormatPattern(String dateFormatPattern)
dateFormatPattern
- public String format(org.apache.log4j.spi.LoggingEvent loggingEvent)
format
in class org.apache.log4j.Layout
public boolean ignoresThrowable()
ignoresThrowable
in class org.apache.log4j.Layout
public void activateOptions()
Copyright © 2020 JavaLite. All rights reserved.