public class SolrLogLayout
extends org.apache.log4j.Layout
Modifier and Type | Class and Description |
---|---|
static class |
SolrLogLayout.CoreInfo |
static class |
SolrLogLayout.Method |
static interface |
SolrLogLayout.TG
Add this interface to a thread group and the string returned by getTag()
will appear in log statements of any threads under that group.
|
Modifier and Type | Field and Description |
---|---|
Map<String,String> |
classAliases |
boolean |
shorterFormat |
Constructor and Description |
---|
SolrLogLayout() |
Modifier and Type | Method and Description |
---|---|
String |
_format(org.apache.log4j.spi.LoggingEvent event) |
void |
activateOptions() |
void |
appendThread(StringBuilder sb,
org.apache.log4j.spi.LoggingEvent event) |
String |
format(org.apache.log4j.spi.LoggingEvent event) |
boolean |
ignoresThrowable() |
void |
setShorterFormat() |
public void appendThread(StringBuilder sb, org.apache.log4j.spi.LoggingEvent event)
public String format(org.apache.log4j.spi.LoggingEvent event)
format
in class org.apache.log4j.Layout
public String _format(org.apache.log4j.spi.LoggingEvent event)
public void setShorterFormat()
public void activateOptions()
public boolean ignoresThrowable()
ignoresThrowable
in class org.apache.log4j.Layout
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.