PatternSelector@Plugin(name="MarkerPatternSelector", category="Core", elementType="patternSelector", printObject=true) public class MarkerPatternSelector extends Object implements PatternSelector
| Modifier and Type | Class | Description |
|---|---|---|
static class |
MarkerPatternSelector.Builder |
Custom MarkerPatternSelector builder.
|
ELEMENT_TYPE| Constructor | Description |
|---|---|
MarkerPatternSelector(PatternMatch[] properties,
String defaultPattern,
boolean alwaysWriteExceptions,
boolean noConsoleNoAnsi,
Configuration config) |
Deprecated.
Use
newBuilder() instead. This will be private in a future version. |
| Modifier and Type | Method | Description |
|---|---|---|
static MarkerPatternSelector |
createSelector(PatternMatch[] properties,
String defaultPattern,
boolean alwaysWriteExceptions,
boolean noConsoleNoAnsi,
Configuration configuration) |
Deprecated.
Use
newBuilder() instead. |
PatternFormatter[] |
getFormatters(LogEvent event) |
|
static MarkerPatternSelector.Builder |
newBuilder() |
Creates a builder for a custom ScriptPatternSelector.
|
String |
toString() |
@Deprecated public MarkerPatternSelector(PatternMatch[] properties, String defaultPattern, boolean alwaysWriteExceptions, boolean noConsoleNoAnsi, Configuration config)
newBuilder() instead. This will be private in a future version.public PatternFormatter[] getFormatters(LogEvent event)
getFormatters in interface PatternSelector@PluginBuilderFactory public static MarkerPatternSelector.Builder newBuilder()
@Deprecated public static MarkerPatternSelector createSelector(PatternMatch[] properties, String defaultPattern, boolean alwaysWriteExceptions, boolean noConsoleNoAnsi, Configuration configuration)
newBuilder() instead.newBuilder() instead.properties - defaultPattern - alwaysWriteExceptions - noConsoleNoAnsi - configuration - Copyright © 1999-2018. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.