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 booleanisErrorLogged()booleanisInfoLogged()booleanisWarningLogged()voidlogError(java.lang.Throwable error, java.lang.CharSequence message)voidlogInfo(java.lang.CharSequence message)voidlogWarning(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:
isInfoLoggedin classjavolution.context.LogContext
-
logInfo
public void logInfo(java.lang.CharSequence message)
- Specified by:
logInfoin classjavolution.context.LogContext
-
isWarningLogged
public boolean isWarningLogged()
- Specified by:
isWarningLoggedin classjavolution.context.LogContext
-
logWarning
public void logWarning(java.lang.CharSequence message)
- Specified by:
logWarningin classjavolution.context.LogContext
-
isErrorLogged
public boolean isErrorLogged()
- Specified by:
isErrorLoggedin classjavolution.context.LogContext
-
logError
public void logError(java.lang.Throwable error, java.lang.CharSequence message)
- Specified by:
logErrorin classjavolution.context.LogContext
-
-