Package org.apache.velocity.runtime.log
Class Log4JLogSystem
- java.lang.Object
-
- org.apache.velocity.runtime.log.Log4JLogChute
-
- org.apache.velocity.runtime.log.Log4JLogSystem
-
public class Log4JLogSystem extends Log4JLogChute implements LogSystem
Deprecated.Use Log4JLogChute instead.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 thanSimpleLog4JLogSystem
; it uses the modernLogger
concept of Log4J, rather than the deprecatedCategeory
concept.- Since:
- Velocity 1.5
- Version:
- $Id: Log4JLogSystem.java 463298 2006-10-12 16:10:32Z henning $
- Author:
- Daniel L. Rall,
-
-
Field Summary
-
Fields inherited from class org.apache.velocity.runtime.log.Log4JLogChute
logger, RUNTIME_LOG_LOG4J_LOGGER, RUNTIME_LOG_LOG4J_LOGGER_LEVEL
-
Fields inherited from interface org.apache.velocity.runtime.log.LogChute
DEBUG_ID, DEBUG_PREFIX, ERROR_ID, ERROR_PREFIX, INFO_ID, INFO_PREFIX, TRACE_ID, TRACE_PREFIX, WARN_ID, WARN_PREFIX
-
-
Constructor Summary
Constructors Constructor Description Log4JLogSystem()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
logVelocityMessage(int level, java.lang.String message)
Deprecated.Use log(level, message).-
Methods inherited from class org.apache.velocity.runtime.log.Log4JLogChute
finalize, init, isLevelEnabled, log, log, shutdown
-
-
-
-
-
Method Detail
-
logVelocityMessage
public void logVelocityMessage(int level, java.lang.String message)
Deprecated.Use log(level, message).- Specified by:
logVelocityMessage
in interfaceLogSystem
- Parameters:
level
-message
-
-
-