org.apache.velocity.runtime.log
Class AvalonLogSystem
java.lang.Objectorg.apache.velocity.runtime.log.AvalonLogSystem
- LogSystem
public class AvalonLogSystem
extends java.lang.Object
Implementation of a Avalon logger.
$Id: AvalonLogSystem.java,v 1.12.4.1 2004/03/03 23:22:56 geirm Exp $
logger
private Logger logger
AvalonLogSystem
public AvalonLogSystem()
default CTOR. Initializes itself using the property RUNTIME_LOG
from the Velocity properties
init
public void init(String logFile)
throws Exception initializes the log system using the logfile argument
logFile - file for log messages
logVelocityMessage
public void logVelocityMessage(int level,
String message) logs messages
- logVelocityMessage in interface LogSystem
level - severity levelmessage - complete error message
Copyright B) 2002 Apache Software Foundation. All Rights Reserved.