/** * Constructs a EnhancedPatternLayout using the supplied conversion pattern. * @param pattern conversion pattern. */ public EnhancedPatternLayout(final String pattern) { this.conversionPattern = pattern; head = createPatternParser( (pattern == null) ? DEFAULT_CONVERSION_PATTERN : pattern).parse(); if (head instanceof BridgePatternConverter) { handlesExceptions = !((BridgePatternConverter) head).ignoresThrowable(); } else { handlesExceptions = false; } }
/** * Set the <b>ConversionPattern</b> option. This is the string which * controls formatting and consists of a mix of literal content and * conversion specifiers. * * @param conversionPattern conversion pattern. */ public void setConversionPattern(final String conversionPattern) { this.conversionPattern = OptionConverter.convertSpecialChars(conversionPattern); head = createPatternParser(this.conversionPattern).parse(); if (head instanceof BridgePatternConverter) { handlesExceptions = !((BridgePatternConverter) head).ignoresThrowable(); } else { handlesExceptions = false; } }
/** * Constructs a EnhancedPatternLayout using the supplied conversion pattern. * @param pattern conversion pattern. */ public EnhancedPatternLayout(final String pattern) { this.conversionPattern = pattern; head = createPatternParser( (pattern == null) ? DEFAULT_CONVERSION_PATTERN : pattern).parse(); if (head instanceof BridgePatternConverter) { handlesExceptions = !((BridgePatternConverter) head).ignoresThrowable(); } else { handlesExceptions = false; } }
/** * Set the <b>ConversionPattern</b> option. This is the string which * controls formatting and consists of a mix of literal content and * conversion specifiers. * * @param conversionPattern conversion pattern. */ public void setConversionPattern(final String conversionPattern) { this.conversionPattern = OptionConverter.convertSpecialChars(conversionPattern); head = createPatternParser(this.conversionPattern).parse(); if (head instanceof BridgePatternConverter) { handlesExceptions = !((BridgePatternConverter) head).ignoresThrowable(); } else { handlesExceptions = false; } }
/** * Constructs a EnhancedPatternLayout using the supplied conversion pattern. * @param pattern conversion pattern. */ public EnhancedPatternLayout(final String pattern) { this.conversionPattern = pattern; head = createPatternParser( (pattern == null) ? DEFAULT_CONVERSION_PATTERN : pattern).parse(); if (head instanceof BridgePatternConverter) { handlesExceptions = !((BridgePatternConverter) head).ignoresThrowable(); } else { handlesExceptions = false; } }
/** * Constructs a EnhancedPatternLayout using the supplied conversion pattern. * @param pattern conversion pattern. */ public EnhancedPatternLayout(final String pattern) { this.conversionPattern = pattern; head = createPatternParser( (pattern == null) ? DEFAULT_CONVERSION_PATTERN : pattern).parse(); if (head instanceof BridgePatternConverter) { handlesExceptions = !((BridgePatternConverter) head).ignoresThrowable(); } else { handlesExceptions = false; } }
/** * Constructs a EnhancedPatternLayout using the supplied conversion pattern. * @param pattern conversion pattern. */ public EnhancedPatternLayout(final String pattern) { this.conversionPattern = pattern; head = createPatternParser( (pattern == null) ? DEFAULT_CONVERSION_PATTERN : pattern).parse(); if (head instanceof BridgePatternConverter) { handlesExceptions = !((BridgePatternConverter) head).ignoresThrowable(); } else { handlesExceptions = false; } }
/** * Constructs a EnhancedPatternLayout using the supplied conversion pattern. * @param pattern conversion pattern. */ public EnhancedPatternLayout(final String pattern) { this.conversionPattern = pattern; head = createPatternParser( (pattern == null) ? DEFAULT_CONVERSION_PATTERN : pattern).parse(); if (head instanceof BridgePatternConverter) { handlesExceptions = !((BridgePatternConverter) head).ignoresThrowable(); } else { handlesExceptions = false; } }
/** * Set the <b>ConversionPattern</b> option. This is the string which * controls formatting and consists of a mix of literal content and * conversion specifiers. * * @param conversionPattern conversion pattern. */ public void setConversionPattern(final String conversionPattern) { this.conversionPattern = OptionConverter.convertSpecialChars(conversionPattern); head = createPatternParser(this.conversionPattern).parse(); if (head instanceof BridgePatternConverter) { handlesExceptions = !((BridgePatternConverter) head).ignoresThrowable(); } else { handlesExceptions = false; } }
/** * Set the <b>ConversionPattern</b> option. This is the string which * controls formatting and consists of a mix of literal content and * conversion specifiers. * * @param conversionPattern conversion pattern. */ public void setConversionPattern(final String conversionPattern) { this.conversionPattern = OptionConverter.convertSpecialChars(conversionPattern); head = createPatternParser(this.conversionPattern).parse(); if (head instanceof BridgePatternConverter) { handlesExceptions = !((BridgePatternConverter) head).ignoresThrowable(); } else { handlesExceptions = false; } }
/** * Set the <b>ConversionPattern</b> option. This is the string which * controls formatting and consists of a mix of literal content and * conversion specifiers. * * @param conversionPattern conversion pattern. */ public void setConversionPattern(final String conversionPattern) { this.conversionPattern = OptionConverter.convertSpecialChars(conversionPattern); head = createPatternParser(this.conversionPattern).parse(); if (head instanceof BridgePatternConverter) { handlesExceptions = !((BridgePatternConverter) head).ignoresThrowable(); } else { handlesExceptions = false; } }
/** * Set the <b>ConversionPattern</b> option. This is the string which * controls formatting and consists of a mix of literal content and * conversion specifiers. * * @param conversionPattern conversion pattern. */ public void setConversionPattern(final String conversionPattern) { this.conversionPattern = OptionConverter.convertSpecialChars(conversionPattern); head = createPatternParser(this.conversionPattern).parse(); if (head instanceof BridgePatternConverter) { handlesExceptions = !((BridgePatternConverter) head).ignoresThrowable(); } else { handlesExceptions = false; } }