public class BshLog extends javolution.context.LogContext
Modified by: Joseph A. Huwaldt
Constructor and Description |
---|
BshLog(JConsole bsh) |
Modifier and Type | Method and Description |
---|---|
boolean |
isErrorLogged()
Indicates if errors are logged.
|
boolean |
isInfoLogged()
Indicates if informative messages are logged.
|
boolean |
isWarningLogged()
Indicates if warning messages are logged.
|
void |
logError(java.lang.Throwable error,
java.lang.CharSequence message) |
void |
logInfo(java.lang.CharSequence message) |
void |
logWarning(java.lang.CharSequence message) |
error, error, error, error, error, getCurrent, getDefault, info, info, logError, logError, logInfo, logInfo, logWarning, logWarning, warning, warning
public BshLog(JConsole bsh)
public boolean isInfoLogged()
javolution.context.LogContext
isInfoLogged
in class javolution.context.LogContext
true
if informative messages are logged;
false
otherwise.public void logInfo(java.lang.CharSequence message)
public boolean isWarningLogged()
javolution.context.LogContext
isWarningLogged
in class javolution.context.LogContext
true
if warnings message are logged;
false
otherwise.public void logWarning(java.lang.CharSequence message)
public boolean isErrorLogged()
javolution.context.LogContext
isErrorLogged
in class javolution.context.LogContext
true
if errors are logged;
false
otherwise.public void logError(java.lang.Throwable error, java.lang.CharSequence message)