|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LogMessageInfo
Interface for the log message info data structure. Implementations for this type are expected to be generated from MessageInfo xml files. Data in here is bound to the Message and not to specific log events.
| Method Summary | |
|---|---|
StringBuffer |
formatMessage(Map parameters,
StringBuffer buffer)
Fills the detail message into the given string buffer with it's parameters substituted. |
String |
getAppName()
Returns the application name as string. |
String |
getAppNameAbbreviation()
Returns the application name abbreviation as string. |
BusinessImpact |
getBusinessImpact()
Returns the possible business impact of the event that triggered this message to be dumped. |
Category |
getCategory()
Returns the category of the event that triggered this message to be dumped. |
String |
getGroupName()
Returns the group name as string. |
String |
getGroupNameAbbreviation()
Returns the group name abbreviation as string. |
Level |
getLogLevel()
Returns the log level that should be used (by default) for this message. |
String |
getMessagePattern()
Returns the message pattern used to create detailed messages for this message type. |
List |
getParameterList()
Returns a List of Strings containing the name of the parameters that are used by this message. |
String |
getSolution()
Returns a string describing the possible solution for this message. |
String |
getSymbol()
Returns the symbolic name for this log message info. |
int |
toInt()
Returns the integer code representation of this log message info. |
| Method Detail |
|---|
String getSymbol()
int toInt()
Level getLogLevel()
String getMessagePattern()
MessageFormat. The order of the parameters is
given by the parameter list getParameterList().
StringBuffer formatMessage(Map parameters,
StringBuffer buffer)
parameters - The map of parameters to be substituted.buffer - the StringBuffer to be filled.
String getSolution()
BusinessImpact getBusinessImpact()
Category getCategory()
List getParameterList()
String getAppName()
String getAppNameAbbreviation()
String getGroupName()
String getGroupNameAbbreviation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||