Package geomss.ui
Class BshLog
- java.lang.Object
-
- javolution.context.Context
-
- javolution.context.LogContext
-
- geomss.ui.BshLog
-
- All Implemented Interfaces:
java.io.Serializable
,javolution.xml.XMLSerializable
public class BshLog extends javolution.context.LogContext
A logging context that dumps the log to the supplied BeanShell Console.Modified by: Joseph A. Huwaldt
- Version:
- January 31, 2017
- Author:
- Joseph A. Huwaldt Date: March 5, 2014
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BshLog(bsh.util.JConsole bsh)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isErrorLogged()
boolean
isInfoLogged()
boolean
isWarningLogged()
void
logError(java.lang.Throwable error, java.lang.CharSequence message)
void
logInfo(java.lang.CharSequence message)
void
logWarning(java.lang.CharSequence message)
-
Methods inherited from class javolution.context.LogContext
error, error, error, error, error, getCurrent, getDefault, info, info, logError, logInfo, logWarning, warning, warning
-
-
-
-
Constructor Detail
-
BshLog
public BshLog(bsh.util.JConsole bsh)
-
-
Method Detail
-
isInfoLogged
public boolean isInfoLogged()
- Specified by:
isInfoLogged
in classjavolution.context.LogContext
-
logInfo
public void logInfo(java.lang.CharSequence message)
- Specified by:
logInfo
in classjavolution.context.LogContext
-
isWarningLogged
public boolean isWarningLogged()
- Specified by:
isWarningLogged
in classjavolution.context.LogContext
-
logWarning
public void logWarning(java.lang.CharSequence message)
- Specified by:
logWarning
in classjavolution.context.LogContext
-
isErrorLogged
public boolean isErrorLogged()
- Specified by:
isErrorLogged
in classjavolution.context.LogContext
-
logError
public void logError(java.lang.Throwable error, java.lang.CharSequence message)
- Specified by:
logError
in classjavolution.context.LogContext
-
-