|
JCommon 1.0.17-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.util.LogContext
public class LogContext
A log context.
Constructor Summary | |
---|---|
LogContext(String contextPrefix)
Creates a new log context. |
Method Summary | |
---|---|
void |
debug(Object message)
A convenience method for logging a 'debug' message. |
void |
debug(Object message,
Exception e)
A convenience method for logging a 'debug' message. |
boolean |
equals(Object o)
Tests this object for equality with an arbitrary object. |
void |
error(Object message)
A convenience method for logging an 'error' message. |
void |
error(Object message,
Exception e)
A convenience method for logging an 'error' message. |
int |
hashCode()
Returns a hashcode. |
void |
info(Object message)
A convenience method for logging an 'info' message. |
void |
info(Object message,
Exception e)
A convenience method for logging an 'info' message. |
boolean |
isDebugEnabled()
Returns true, if the log level allows debug messages to be printed. |
boolean |
isErrorEnabled()
Returns true, if the log level allows error messages to be printed. |
boolean |
isInfoEnabled()
Returns true, if the log level allows informational messages to be printed. |
boolean |
isWarningEnabled()
Returns true, if the log level allows warning messages to be printed. |
void |
log(int level,
Object message)
Logs a message to the main log stream. |
void |
log(int level,
Object message,
Exception e)
Logs a message to the main log stream. |
void |
warn(Object message)
A convenience method for logging a 'warning' message. |
void |
warn(Object message,
Exception e)
A convenience method for logging a 'warning' message. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogContext(String contextPrefix)
contextPrefix
- the prefix.Method Detail |
---|
public boolean isDebugEnabled()
public boolean isInfoEnabled()
public boolean isWarningEnabled()
public boolean isErrorEnabled()
public void debug(Object message)
message
- the message.public void debug(Object message, Exception e)
message
- the message.e
- the exception.public void info(Object message)
message
- the message.public void info(Object message, Exception e)
message
- the message.e
- the exception.public void warn(Object message)
message
- the message.public void warn(Object message, Exception e)
message
- the message.e
- the exception.public void error(Object message)
message
- the message.public void error(Object message, Exception e)
message
- the message.e
- the exception.public void log(int level, Object message)
level
- log level of the message.message
- text to be logged.public void log(int level, Object message, Exception e)
level
- log level of the message.message
- text to be logged.e
- the exception, which should be logged.public boolean equals(Object o)
equals
in class Object
o
- the object to test against (null
permitted).
public int hashCode()
hashCode
in class Object
|
JCommon 1.0.17-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |