ERXPatternParser.AppNamePatternConverter Class Reference

Inherits org::apache::log4j::helpers::PatternConverter.

Collaboration diagram for ERXPatternParser.AppNamePatternConverter:

Collaboration graph
[legend]

List of all members.

Public Member Functions

String convert (LoggingEvent event)

Package Functions

 AppNamePatternConverter (FormattingInfo formattingInfo)

Package Attributes

String _appName


Detailed Description

The application name pattern converter is useful for logging the current application name in log statements.

Deprecated:

Constructor & Destructor Documentation

AppNamePatternConverter ( FormattingInfo  formattingInfo  )  [package]

Default package level constructor

Parameters:
formattingInfo current pattern formatting information


Member Function Documentation

String convert ( LoggingEvent  event  ) 

Returns the current application name for the current logging event. If the application instance has not been created yet then "N/A" is logged.

Parameters:
event a given logging event
Returns:
the current application name


Member Data Documentation

String _appName [package]

holds a reference to the app name


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:16 2012 for Project Wonder by  doxygen 1.5.8