org.apache.velocity.runtime.log

Class NullLogSystem

Implemented Interfaces:
LogSystem

public class NullLogSystem
extends java.lang.Object
implements LogSystem

Logger used in case of failure. Does nothing.
Version:
$Id: NullLogSystem.java,v 1.1.10.1 2004/03/03 23:22:56 geirm Exp $
Author:
Geir Magnusson Jr.

Fields inherited from interface org.apache.velocity.runtime.log.LogSystem

DEBUG_ID, DEBUG_ON, ERROR_ID, INFO_ID, WARN_ID

Constructor Summary

NullLogSystem()

Method Summary

void
init(RuntimeServices rs)
init()
void
logVelocityMessage(int level, String message)
logs messages to the great Garbage Collector in the sky

Constructor Details

NullLogSystem

public NullLogSystem()

Method Details

init

public void init(RuntimeServices rs)
            throws Exception
init()
Specified by:
init in interface LogSystem

logVelocityMessage

public void logVelocityMessage(int level,
                               String message)
logs messages to the great Garbage Collector in the sky
Specified by:
logVelocityMessage in interface LogSystem
Parameters:
level - severity level
message - complete error message

Copyright B) 2002 Apache Software Foundation. All Rights Reserved.