org.norther.tammi.spray.velocity
Class VelocityLogger
java.lang.Object
org.norther.tammi.spray.velocity.VelocityLogger
- All Implemented Interfaces:
- Serializable, LogChute
public class VelocityLogger
- extends Object
- implements LogChute, Serializable
A Velocity logger facade.
- Version:
- $Id: VelocityLogger.java,v 1.15 2009/09/28 15:08:30 cvsimp Exp $
- Author:
- Ilkka Priha
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VelocityLogger
public VelocityLogger()
- Constructs a logger.
init
public void init(RuntimeServices services)
throws Exception
- Specified by:
init
in interface LogChute
- Throws:
Exception
log
public void log(int type,
String message)
- Specified by:
log
in interface LogChute
log
public void log(int type,
String message,
Throwable t)
- Specified by:
log
in interface LogChute
isLevelEnabled
public boolean isLevelEnabled(int type)
- Specified by:
isLevelEnabled
in interface LogChute
Copyright © 2004 The Norther Organization. All rights reserved.