Class RuntimeLoggerLog


  • public class RuntimeLoggerLog
    extends Log
    Deprecated.
    This will be removed along with the RuntimeLogger interface.
    A temporary RuntimeLogger wrapper to make the deprecation of UberspectLoggable.setRuntimeLogger(RuntimeLogger) feasible. This overrides all Log methods, either throwing UnsupportedOperationExceptions or passing things off to the theoretical RuntimeLogger used to create it. Oh, and all the isEnabled() methods return true. Of course, ideally there is no one out there who actually created their own RuntimeLogger instance to use with UberspectLoggable.setRuntimeLogger() and this class will therefore never be used. But it's here just in case.
    Since:
    1.5
    Version:
    $Id: RuntimeLoggerLog.java 685685 2008-08-13 21:43:27Z nbubna $
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private RuntimeLogger rlog
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      RuntimeLoggerLog​(RuntimeLogger rlog)
      Deprecated.
      Creates a new Log that wraps a PrimordialLogChute.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void debug​(java.lang.Object message)
      Deprecated.
      Log a debug message.
      void debug​(java.lang.Object message, java.lang.Throwable t)
      Deprecated.
      Log a debug message and accompanying Throwable.
      void error​(java.lang.Object message)
      Deprecated.
      Log an error message.
      void error​(java.lang.Object message, java.lang.Throwable t)
      Deprecated.
      Log an error message and accompanying Throwable.
      protected LogChute getLogChute()
      Deprecated.
      Returns the LogChute wrapped by this Log instance.
      boolean getShowStackTraces()
      Deprecated.
       
      void info​(java.lang.Object message)
      Deprecated.
      Log an info message.
      void info​(java.lang.Object message, java.lang.Throwable t)
      Deprecated.
      Log an info message and accompanying Throwable.
      boolean isDebugEnabled()
      Deprecated.
      Returns true if debug level messages will be printed by the LogChute.
      boolean isErrorEnabled()
      Deprecated.
      Returns true if error level messages will be printed by the LogChute.
      boolean isInfoEnabled()
      Deprecated.
      Returns true if info level messages will be printed by the LogChute.
      boolean isTraceEnabled()
      Deprecated.
      Returns true if trace level messages will be printed by the LogChute.
      boolean isWarnEnabled()
      Deprecated.
      Returns true if warn level messages will be printed by the LogChute.
      protected void setLogChute​(LogChute newLogChute)
      Deprecated.
      Updates the LogChute wrapped by this Log instance.
      protected void setShowStackTraces​(boolean showStacks)
      Deprecated.
       
      void trace​(java.lang.Object message)
      Deprecated.
      Log a trace message.
      void trace​(java.lang.Object message, java.lang.Throwable t)
      Deprecated.
      Log a trace message and accompanying Throwable.
      void warn​(java.lang.Object message)
      Deprecated.
      Log a warning message.
      void warn​(java.lang.Object message, java.lang.Throwable t)
      Deprecated.
      Log a warning message and accompanying Throwable.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RuntimeLoggerLog

        public RuntimeLoggerLog​(RuntimeLogger rlog)
        Deprecated.
        Creates a new Log that wraps a PrimordialLogChute.
        Parameters:
        rlog -
    • Method Detail

      • getLogChute

        protected LogChute getLogChute()
        Deprecated.
        Description copied from class: Log
        Returns the LogChute wrapped by this Log instance.
        Overrides:
        getLogChute in class Log
        Returns:
        The LogChute wrapped by this Log instance.
        See Also:
        Log.getLogChute()
      • setShowStackTraces

        protected void setShowStackTraces​(boolean showStacks)
        Deprecated.
        Parameters:
        showStacks -
      • getShowStackTraces

        public boolean getShowStackTraces()
        Deprecated.
        Returns:
        True if Stack traces should be shown.
      • isTraceEnabled

        public boolean isTraceEnabled()
        Deprecated.
        Description copied from class: Log
        Returns true if trace level messages will be printed by the LogChute.
        Overrides:
        isTraceEnabled in class Log
        Returns:
        If trace level messages will be printed by the LogChute.
        See Also:
        Log.isTraceEnabled()
      • trace

        public void trace​(java.lang.Object message)
        Deprecated.
        Description copied from class: Log
        Log a trace message.
        Overrides:
        trace in class Log
        See Also:
        Log.trace(java.lang.Object)
      • isDebugEnabled

        public boolean isDebugEnabled()
        Deprecated.
        Description copied from class: Log
        Returns true if debug level messages will be printed by the LogChute.
        Overrides:
        isDebugEnabled in class Log
        Returns:
        True if debug level messages will be printed by the LogChute.
        See Also:
        Log.isDebugEnabled()
      • debug

        public void debug​(java.lang.Object message)
        Deprecated.
        Description copied from class: Log
        Log a debug message.
        Overrides:
        debug in class Log
        See Also:
        Log.debug(java.lang.Object)
      • isInfoEnabled

        public boolean isInfoEnabled()
        Deprecated.
        Description copied from class: Log
        Returns true if info level messages will be printed by the LogChute.
        Overrides:
        isInfoEnabled in class Log
        Returns:
        True if info level messages will be printed by the LogChute.
        See Also:
        Log.isInfoEnabled()
      • info

        public void info​(java.lang.Object message)
        Deprecated.
        Description copied from class: Log
        Log an info message.
        Overrides:
        info in class Log
        See Also:
        Log.info(java.lang.Object)
      • isWarnEnabled

        public boolean isWarnEnabled()
        Deprecated.
        Description copied from class: Log
        Returns true if warn level messages will be printed by the LogChute.
        Overrides:
        isWarnEnabled in class Log
        Returns:
        True if warn level messages will be printed by the LogChute.
        See Also:
        Log.isWarnEnabled()
      • warn

        public void warn​(java.lang.Object message)
        Deprecated.
        Description copied from class: Log
        Log a warning message.
        Overrides:
        warn in class Log
        See Also:
        Log.warn(java.lang.Object)
      • isErrorEnabled

        public boolean isErrorEnabled()
        Deprecated.
        Description copied from class: Log
        Returns true if error level messages will be printed by the LogChute.
        Overrides:
        isErrorEnabled in class Log
        Returns:
        True if error level messages will be printed by the LogChute.
        See Also:
        Log.isErrorEnabled()
      • error

        public void error​(java.lang.Object message)
        Deprecated.
        Description copied from class: Log
        Log an error message.
        Overrides:
        error in class Log
        See Also:
        Log.error(java.lang.Object)