Package pl.tkowalcz.tjahzi.log4j2.labels
Class Log4jAdapterLabelPrinter
- java.lang.Object
-
- pl.tkowalcz.tjahzi.log4j2.labels.Log4jAdapterLabelPrinter
-
- All Implemented Interfaces:
LabelPrinter
public class Log4jAdapterLabelPrinter extends Object implements LabelPrinter
-
-
Constructor Summary
Constructors Constructor Description Log4jAdapterLabelPrinter(List<org.apache.logging.log4j.core.pattern.PatternFormatter> formatters)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappend(org.apache.logging.log4j.core.LogEvent event, Consumer<CharSequence> appendable)booleanisStatic()static Log4jAdapterLabelPrinterof(List<org.apache.logging.log4j.core.pattern.PatternFormatter> parse)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface pl.tkowalcz.tjahzi.log4j2.labels.LabelPrinter
toStringWithoutEvent
-
-
-
-
Constructor Detail
-
Log4jAdapterLabelPrinter
public Log4jAdapterLabelPrinter(List<org.apache.logging.log4j.core.pattern.PatternFormatter> formatters)
-
-
Method Detail
-
append
public void append(org.apache.logging.log4j.core.LogEvent event, Consumer<CharSequence> appendable)- Specified by:
appendin interfaceLabelPrinter
-
isStatic
public boolean isStatic()
- Specified by:
isStaticin interfaceLabelPrinter
-
of
public static Log4jAdapterLabelPrinter of(List<org.apache.logging.log4j.core.pattern.PatternFormatter> parse)
-
-