public final class

BridgePatternConverter

extends PatternConverter
java.lang.Object
   ↳ org.apache.log4j.helpers.PatternConverter
     ↳ org.apache.log4j.pattern.BridgePatternConverter

Class Overview

The class implements the pre log4j 1.3 org.apache.log4j.helpers.PatternConverter contract by delegating to the log4j 1.3 pattern implementation.

Summary

[Expand]
Inherited Fields
From class org.apache.log4j.helpers.PatternConverter
Public Constructors
BridgePatternConverter(String pattern)
Create a new instance.
Public Methods
void format(StringBuffer sbuf, LoggingEvent e)
Format event to string buffer.
boolean ignoresThrowable()
Will return false if any of the conversion specifiers in the pattern handles Exception Exceptions.
Protected Methods
String convert(LoggingEvent event)
Derived pattern converters must override this method in order to convert conversion specifiers in the correct way.
[Expand]
Inherited Methods
From class org.apache.log4j.helpers.PatternConverter
From class java.lang.Object

Public Constructors

public BridgePatternConverter (String pattern)

Create a new instance.

Parameters
pattern pattern, may not be null.

Public Methods

public void format (StringBuffer sbuf, LoggingEvent e)

Format event to string buffer.

Parameters
sbuf string buffer to receive formatted event, may not be null.
e event to format, may not be null.

public boolean ignoresThrowable ()

Will return false if any of the conversion specifiers in the pattern handles Exception Exceptions.

Returns
  • true if the pattern formats any information from exceptions.

Protected Methods

protected String convert (LoggingEvent event)

Derived pattern converters must override this method in order to convert conversion specifiers in the correct way.