org.apache.beehive.controls.runtime.generator
Class VelocityAptLogSystem

Object
  extended by VelocityAptLogSystem
All Implemented Interfaces:
LogSystem

public class VelocityAptLogSystem
extends Object
implements LogSystem

The VelocityAptLogSystem implements the org.apache.velocity.runtime.LogSystem interface for logging messages from Velocity and routes warnings and errors to the log system of APT.


Field Summary
 
Fields inherited from interface LogSystem
DEBUG_ID, DEBUG_ON, ERROR_ID, INFO_ID, WARN_ID
 
Constructor Summary
VelocityAptLogSystem(Messager messager)
           
 
Method Summary
 void init(RuntimeServices rs)
           
 void logVelocityMessage(int level, String message)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VelocityAptLogSystem

public VelocityAptLogSystem(Messager messager)
Method Detail

init

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

logVelocityMessage

public void logVelocityMessage(int level,
                               String message)
Specified by:
logVelocityMessage in interface LogSystem