org.apache.velocity.runtime.log
Class LogManager

java.lang.Object
  |
  +--org.apache.velocity.runtime.log.LogManager

public class LogManager
extends java.lang.Object

LogManager.java This class is responsible for instantiating the correct LoggingSystem Right now, it is hard coded with a single Logging System. Eventually we will have more LoggingSystems.

Version:
$Id: LogManager.java,v 1.6.2.1 2001/10/16 00:07:06 geirm Exp $
Author:
Jason van Zyl, Jon S. Stevens, Geir Magnusson Jr.

Constructor Summary
LogManager()
           
 
Method Summary
static LogSystem createLogSystem(RuntimeServices rsvc)
          Creates a new logging system.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

LogManager

public LogManager()
Method Detail

createLogSystem

public static LogSystem createLogSystem(RuntimeServices rsvc)
                                 throws java.lang.Exception
Creates a new logging system. Uses the property RUNTIME_LOG_LOGSYSTEM_CLASS as the class to create. Note that the class created has to do its own initialization - there is no init() method called/


Copyright © 2001 Apache Software Foundation. All Rights Reserved.