Class RuntimeLoggerLog

java.lang.Object
org.apache.velocity.runtime.log.Log
org.apache.velocity.runtime.log.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 $
Author:
Nathan Bubna
  • Constructor Details

    • RuntimeLoggerLog

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