|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ILoggingService defines the methods to configure the Logging service.
Field Summary | |
static java.lang.String |
COPYRIGHT
|
Method Summary | |
void |
disable(long messageSeverity)
This method is called to disable a specific message severity |
void |
disable(java.lang.String messageSeverity)
This method is called to disable a specific message severity |
void |
disableLogging()
This method is called to disable message logging |
void |
enable(long messageSeverity)
This method is called to enable a specific message severity |
void |
enable(java.lang.String messageSeverity)
This method is called to enable a specific message severity |
void |
enableLogging()
This method is called to enable message logging |
boolean |
isLoggable(ECMessage message)
Determines if a log entry will be processed by the logger and any of the handlers. |
boolean |
isLoggingEnabled()
This method is called to check if a specific message severity is enabled. |
void |
out(ECMessage msg,
java.lang.String className,
java.lang.String methodName)
Writes the specified ECMessage to the log file. |
void |
out(ECMessage msg,
java.lang.String className,
java.lang.String methodName,
java.lang.Object[] parms)
Writes the specified ECMessage to the log file. |
void |
out(ECMessage msg,
java.lang.String className,
java.lang.String methodName,
java.lang.Object[] parms,
java.lang.Throwable exc)
Writes the specified ECMessage to the log file. |
Field Detail |
public static final java.lang.String COPYRIGHT
Method Detail |
public void disable(long messageSeverity)
message
- severity longpublic void disable(java.lang.String messageSeverity)
message
- severity Stringpublic void disableLogging()
public void enable(long messageSeverity)
message
- severity longpublic void enable(java.lang.String messageSeverity)
message
- severity Stringpublic void enableLogging()
public boolean isLoggable(ECMessage message)
if (isLoggable(RASTraceEvent.TYPE_PUBLIC) trace(RASTraceEvent.TYPE_PUBLIC...);
type
- The type of the log entry. The set of possible values is
defined by the RASIMessageEvent.TYPE_XXXX
or RASITraceEvent.TYPE_XXXX
constants.true
if the logger is enabled and at least one
handler will process the log entry; false
,
otherwise.public boolean isLoggingEnabled()
public void out(ECMessage msg, java.lang.String className, java.lang.String methodName)
msg
- The ECMessage object whose text is written to the log.classname
- The name of the class that issued the logging of this ECMessage.methodName
- The name of the method that issued the logging of this ECMessage.public void out(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Object[] parms)
msg
- The ECMessage object whose text is written to the log.classname
- The name of the class that issued the logging of this ECMessage.methodName
- The name of the method that issued the logging of this ECMessage.parms
- The list of parameters that will be substituted into the message text.public void out(ECMessage msg, java.lang.String className, java.lang.String methodName, java.lang.Object[] parms, java.lang.Throwable exc)
msg
- The ECMessage object whose text is written to the log.classname
- The name of the class that issued the logging of this ECMessage.methodName
- The name of the method that issued the logging of this ECMessage.parms
- The list of parameters that will be substituted into the message text.Throwable
- exception.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |