Class LogChuteSystem

  • All Implemented Interfaces:
    LogChute

    public class LogChuteSystem
    extends java.lang.Object
    implements LogChute
    Wrapper to make user's custom LogSystem implementations work with the new LogChute setup.
    Since:
    1.5
    Version:
    $Id: LogChuteSystem.java 730039 2008-12-30 03:53:19Z byron $
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected LogChuteSystem​(LogSystem wrapMe)
      Only classes in this package should be creating this.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void init​(RuntimeServices rs)
      Initializes this LogChute.
      boolean isLevelEnabled​(int level)
      Tell whether or not a log level is enabled.
      void log​(int level, java.lang.String message)
      Send a log message from Velocity.
      void log​(int level, java.lang.String message, java.lang.Throwable t)
      First passes off the message at the specified level, then passes off stack trace of the Throwable as a 2nd message at the same level.
      • Methods inherited from class java.lang.Object

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

      • LogChuteSystem

        protected LogChuteSystem​(LogSystem wrapMe)
        Only classes in this package should be creating this. Users should not have to mess with this class.
        Parameters:
        wrapMe -
    • Method Detail

      • log

        public void log​(int level,
                        java.lang.String message,
                        java.lang.Throwable t)
        First passes off the message at the specified level, then passes off stack trace of the Throwable as a 2nd message at the same level.
        Specified by:
        log in interface LogChute
        Parameters:
        level -
        message -
        t -