Package org.apache.log4j.pattern
Class FullLocationPatternConverter
java.lang.Object
org.apache.log4j.pattern.PatternConverter
org.apache.log4j.pattern.LoggingEventPatternConverter
org.apache.log4j.pattern.FullLocationPatternConverter
Format the event's line location information.
- Author:
- Ceki Gülcü
-
Method Summary
Modifier and TypeMethodDescriptionvoidformat(LoggingEvent event, StringBuffer output) Formats an event into a string buffer.static FullLocationPatternConverternewInstance(String[] options) Obtains an instance of pattern converter.Methods inherited from class org.apache.log4j.pattern.LoggingEventPatternConverter
format, handlesThrowableMethods inherited from class org.apache.log4j.pattern.PatternConverter
getName, getStyleClass
-
Method Details
-
newInstance
Obtains an instance of pattern converter.- Parameters:
options- options, may be null.- Returns:
- instance of pattern converter.
-
format
Formats an event into a string buffer.- Specified by:
formatin classLoggingEventPatternConverter- Parameters:
event- event to format, may not be null.output- string buffer to which the formatted event will be appended. May not be null.
-