com.taursys.debug
Class VelocitySimpleLogger

java.lang.Object
  extended bycom.taursys.debug.VelocitySimpleLogger
All Implemented Interfaces:
org.apache.velocity.runtime.log.LogSystem

public class VelocitySimpleLogger
extends java.lang.Object
implements org.apache.velocity.runtime.log.LogSystem

VelocitySimpleLogger is Logging System for Velocity when used with JBuilder IDE

Version:
1.0
Author:
Marty Phelan

Field Summary
 
Fields inherited from interface org.apache.velocity.runtime.log.LogSystem
DEBUG_ID, DEBUG_ON, ERROR_ID, INFO_ID, WARN_ID
 
Constructor Summary
VelocitySimpleLogger()
          Constructs a new VelocitySimpleLogger
 
Method Summary
 void init(org.apache.velocity.runtime.RuntimeServices parm1)
          Initialize method - implementation does nothing.
 void logVelocityMessage(int level, java.lang.String msg)
          Loggs the given message using the Debug logger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VelocitySimpleLogger

public VelocitySimpleLogger()
Constructs a new VelocitySimpleLogger

Method Detail

init

public void init(org.apache.velocity.runtime.RuntimeServices parm1)
          throws java.lang.Exception
Initialize method - implementation does nothing.

Specified by:
init in interface org.apache.velocity.runtime.log.LogSystem
Throws:
java.lang.Exception

logVelocityMessage

public void logVelocityMessage(int level,
                               java.lang.String msg)
Loggs the given message using the Debug logger

Specified by:
logVelocityMessage in interface org.apache.velocity.runtime.log.LogSystem


Copyright © 2007 Martin T Phelan. All Rights Reserved.