Package geomss.ui

Class 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
    • Field Summary

      • Fields inherited from class javolution.context.LogContext

        CONSOLE, DEFAULT, NULL, STANDARD, SYSTEM_OUT
      • Fields inherited from class javolution.context.Context

        ROOT
    • 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
      • Methods inherited from class javolution.context.Context

        enter, enter, exit, exit, getOuter, getOwner, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • BshLog

        public BshLog​(bsh.util.JConsole bsh)
    • Method Detail

      • isInfoLogged

        public boolean isInfoLogged()
        Specified by:
        isInfoLogged in class javolution.context.LogContext
      • logInfo

        public void logInfo​(java.lang.CharSequence message)
        Specified by:
        logInfo in class javolution.context.LogContext
      • isWarningLogged

        public boolean isWarningLogged()
        Specified by:
        isWarningLogged in class javolution.context.LogContext
      • logWarning

        public void logWarning​(java.lang.CharSequence message)
        Specified by:
        logWarning in class javolution.context.LogContext
      • isErrorLogged

        public boolean isErrorLogged()
        Specified by:
        isErrorLogged in class javolution.context.LogContext
      • logError

        public void logError​(java.lang.Throwable error,
                             java.lang.CharSequence message)
        Specified by:
        logError in class javolution.context.LogContext