|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILogger
Provides an abstraction layer into the logging framework capable of writing categorized messages into a target repository (or console).
Field Summary | |
---|---|
static int |
ALL
All message type. |
static int |
ERROR
An error message type. |
static int |
FATAL
A fatal error message type. |
static int |
INFORMATION
An informational message type. |
static int |
TRACE
All tracing message type. |
static int |
WARNING
A warning message type. |
Method Summary | |
---|---|
void |
log(java.lang.Exception ex)
Logs an exception into the target repository or destination. |
void |
log(int iCode,
java.lang.String sMessage)
Logs a message for the given message type into a target repository. |
void |
setVerboseLevel(int iVerboseLevel)
Sets the verbose level to specify the granularity of messages being logged based on the message type. |
Field Detail |
---|
static final int ALL
static final int TRACE
static final int INFORMATION
static final int WARNING
static final int ERROR
static final int FATAL
Method Detail |
---|
void setVerboseLevel(int iVerboseLevel)
iVerboseLevel
- Determines how to filter messages to be displayed on the
console.void log(int iCode, java.lang.String sMessage)
iCode
- The message type to be logged.sMessage
- The actual message to be loggedvoid log(java.lang.Exception ex)
ex
- The exception to be logged.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |