|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Logging
This interface defines the contract between the Core class and the logging sub-system. The Core is expected to expose the methods defined here, and this package will expose the required entry points.
Four error levels are defined:
Clients of the logger can assume that their messages will have certain information addded to them; date-time, security context, and code location.
| Method Summary | |
|---|---|
void |
logBootError(java.lang.String message)
Output a message to the Error boot logging channel. |
void |
logBootError(java.lang.String message,
java.lang.Throwable cause)
Output a message to the Error boot logging channel. |
void |
logBootFatal(java.lang.String message)
Output a message to the Fatal boot logging channel. |
void |
logBootFatal(java.lang.String message,
java.lang.Throwable cause)
Output a message to the Fatal boot logging channel. |
void |
logBootInfo(java.lang.String message)
Output a message to the Info boot logging channel. |
void |
logBootInfo(java.lang.String message,
java.lang.Throwable cause)
Output a message to the Info boot logging channel. |
void |
logBootWarning(java.lang.String message)
Output a message to the Warning Boot logging channel. |
void |
logBootWarning(java.lang.String message,
java.lang.Throwable cause)
Output a message to the Warning Boot logging channel. |
void |
logDebug(java.lang.String message)
Output a message to the Debug logging channel. |
void |
logDebug(java.lang.String message,
java.lang.Throwable cause)
Output a message to the Debug logging channel with exception details. |
void |
logError(java.lang.String message)
Output a message to the Error logging channel. |
void |
logError(java.lang.String message,
java.lang.Throwable cause)
Output a message to the Error logging channel with an excpetion. |
void |
logFatal(java.lang.String message)
Output a message to the Fatal logging channel. |
void |
logFatal(java.lang.String message,
java.lang.Throwable cause)
Output a message to the Fatal logging channel with an exception. |
void |
logInfo(java.lang.String message)
Output a message to the Info logging channel. |
void |
logInfo(java.lang.String message,
java.lang.Throwable cause)
Output a message to the Info logging channel with exception details. |
void |
logWarning(java.lang.String message)
Output a message to the Warning logging channel. |
void |
logWarning(java.lang.String message,
java.lang.Throwable cause)
Output a message to the Warning logging channel with exception details. |
| Method Detail |
|---|
void logDebug(java.lang.String message)
message - The text of the message to be output.
void logDebug(java.lang.String message,
java.lang.Throwable cause)
message - The text of the message to be output.cause - The cause of the debug message.void logInfo(java.lang.String message)
message - The text of the message to be output.
void logInfo(java.lang.String message,
java.lang.Throwable cause)
message - The text of the message to be output.cause - The cause of the info message.void logWarning(java.lang.String message)
message - The text of the message to be output.
void logWarning(java.lang.String message,
java.lang.Throwable cause)
message - The text of the message to be output.cause - The cause of the warning message.void logError(java.lang.String message)
message - The text of the message to be output.
void logError(java.lang.String message,
java.lang.Throwable cause)
message - The text of the message to be output.cause - The cause of the error.void logFatal(java.lang.String message)
message - The text of the message to be output.
void logFatal(java.lang.String message,
java.lang.Throwable cause)
message - The text of the message to be output.cause - The cause of the fatal error.void logBootInfo(java.lang.String message)
message - The text of the message to be output.
void logBootInfo(java.lang.String message,
java.lang.Throwable cause)
message - The text of the message to be output.cause - Related cause.void logBootError(java.lang.String message)
message - The text of the message to be output.
void logBootError(java.lang.String message,
java.lang.Throwable cause)
message - The text of the message to be output.cause - The exception that caused the error.void logBootWarning(java.lang.String message)
message - The text of the message to be output.
void logBootWarning(java.lang.String message,
java.lang.Throwable cause)
message - The text of the message to be output.cause - The exception that caused the warning.void logBootFatal(java.lang.String message)
message - The text of the message to be output.
void logBootFatal(java.lang.String message,
java.lang.Throwable cause)
message - The text of the message to be output.cause - The exception that caused the fatal error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||