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.
Version:
- Jon S. Stevens
- Geir Magnusson Jr.
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 © 2003 Apache Software Foundation. All Rights Reserved.