org.apache.velocity.runtime.log
Class Log4JLogSystem
java.lang.Object
org.apache.velocity.runtime.log.Log4JLogChute
org.apache.velocity.runtime.log.Log4JLogSystem
- All Implemented Interfaces:
- LogChute, LogSystem
Deprecated. Use Log4JLogChute instead.
public class Log4JLogSystem
- extends Log4JLogChute
- implements LogSystem
Implementation of a simple log4j system that will either latch onto
an existing category, or just do a simple rolling file log.
Use this one rather than SimpleLog4JLogSystem
; it uses the
modern Logger
concept of Log4J, rather than the
deprecated Categeory
concept.
- Since:
- Velocity 1.5
- Version:
- $Id: Log4JLogSystem.java 463298 2006-10-12 16:10:32Z henning $
- Author:
- Daniel L. Rall,
Methods inherited from interface org.apache.velocity.runtime.log.LogSystem |
init |
Log4JLogSystem
public Log4JLogSystem()
- Deprecated.
logVelocityMessage
public void logVelocityMessage(int level,
String message)
- Deprecated. Use log(level, message).
- Specified by:
logVelocityMessage
in interface LogSystem
- Parameters:
level
- message
-
Copyright © 2000-2010 The Apache Software Foundation. All Rights Reserved.