|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ModuleLogger
Provides a service through which loaded modules can log information to the global log file. Use of this service is not required for modules, however it provides a standardized mechanism through which modules can indicate status and relate issues to global events.
All module events are logged to the application's local storage area (which is OS-dependent) and write lines like the following:
CODE> DATE TIME - MESSAGE
METHOD(FILE:LINE)
Where the variables are defined as:
CODE - A three-letter code indicating the type of
message this line indicates. For modules, this may be any of the
following:
MFF - Fatal ErrorMEE - ErrorMWW - WarningMNN - NoticeMDD - Debug InformationDATE - The system date when this event occurredTIME - The system time when this occurred, in 24-hour formatMESSAGE - The message associated with this eventMETHOD - The method that requested the log information
to be recorded (the method that was at the top of the call stack at the
time of the logged information)FILE - The file in which METHOD residesLINE - The line at which METHOD made the
call to the logger
| Method Summary | |
|---|---|
void |
debug(java.lang.String message)
Records a debug message to the logging system |
void |
error(java.lang.String message)
Records an error message to the logging system |
void |
fatal(java.lang.String message)
Records a fatal error message to the logging system |
void |
notice(java.lang.String message)
Records a notice to the logging system |
void |
warning(java.lang.String message)
Records a warning message to the logging system |
| Methods inherited from interface java.lang.Thread.UncaughtExceptionHandler |
|---|
uncaughtException |
| Method Detail |
|---|
void fatal(java.lang.String message)
message - The message to recordModuleLoggervoid error(java.lang.String message)
message - The message to recordModuleLoggervoid warning(java.lang.String message)
message - The message to recordModuleLoggervoid notice(java.lang.String message)
message - The message to recordModuleLoggervoid debug(java.lang.String message)
message - The message to recordModuleLogger
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||