org.jfree.util
public class LogContext extends Object
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.
|
Parameters: contextPrefix the prefix.
Parameters: message the message.
Parameters: message the message. e the exception.
Parameters: o the object to test against (null
permitted).
Returns: A boolean.
Parameters: message the message.
Parameters: message the message. e the exception.
Returns: The hashcode.
Parameters: message the message.
Parameters: message the message. e the exception.
Returns: true, if messages with an log level of DEBUG are allowed.
Returns: true, if messages with an log level of ERROR are allowed.
Returns: true, if messages with an log level of INFO are allowed.
Returns: true, if messages with an log level of WARN are allowed.
Parameters: level log level of the message. message text to be logged.
Parameters: level log level of the message. message text to be logged. e the exception, which should be logged.
Parameters: message the message.
Parameters: message the message. e the exception.