org.apache.log4j.helpers.PatternParser Java Examples
The following examples show how to use
org.apache.log4j.helpers.PatternParser.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: TraceIdPatternLayout.java From eagle with Apache License 2.0 | 4 votes |
@Override protected PatternParser createPatternParser(String pattern) { return new TraceIdPatternParser(pattern); }
Example #2
Source File: MyPatternLayout.java From cacheonix-core with GNU Lesser General Public License v2.1 | 4 votes |
public PatternParser createPatternParser(String pattern) { return new MyPatternParser( pattern == null ? DEFAULT_CONVERSION_PATTERN : pattern); }
Example #3
Source File: MyPatternLayout.java From cacheonix-core with GNU Lesser General Public License v2.1 | 4 votes |
public PatternParser createPatternParser(String pattern) { return new MyPatternParser( pattern == null ? DEFAULT_CONVERSION_PATTERN : pattern); }
Example #4
Source File: TraceIdPatternLayout.java From skywalking with Apache License 2.0 | 4 votes |
@Override protected PatternParser createPatternParser(String pattern) { return new TraceIdPatternParser(pattern); }
Example #5
Source File: PatternLayoutWithCounter.java From olat with Apache License 2.0 | 4 votes |
public PatternParser createPatternParser(String pattern) { return new CounterPatternParser(pattern == null ? DEFAULT_CONVERSION_PATTERN : pattern); }
Example #6
Source File: PatternLayoutWithCounter.java From olat with Apache License 2.0 | 4 votes |
@Override public PatternParser createPatternParser(String pattern) { return new CounterPatternParser(pattern == null ? DEFAULT_CONVERSION_PATTERN : pattern); }
Example #7
Source File: ExtendedPatternLayout.java From primecloud-controller with GNU General Public License v2.0 | 4 votes |
@Override protected PatternParser createPatternParser(String pattern) { return new ExtendedPatternParser(pattern); }
Example #8
Source File: PatternLayout.java From cacheonix-core with GNU Lesser General Public License v2.1 | votes |
/** Returns PatternParser used to parse the conversion string. Subclasses may override this to return a subclass of PatternParser which recognize custom conversion characters. @since 0.9.0 */ protected PatternParser createPatternParser(String pattern) { return new PatternParser(pattern); }