Package org.apache.velocity.runtime.log
Class Log4JLogSystem
java.lang.Object
org.apache.velocity.runtime.log.Log4JLogChute
org.apache.velocity.runtime.log.Log4JLogSystem
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 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:
- <a href="mailto:geirm@apache.org>Geir Magnusson Jr., <a href="mailto:dlr@finemaltcoding.com>Daniel L. Rall, <a href="mailto:nbubna@apache.org>Nathan Bubna
-
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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
logVelocityMessage
(int level, String message) Deprecated.Use log(level, message).Methods inherited from class org.apache.velocity.runtime.log.Log4JLogChute
finalize, init, isLevelEnabled, log, log, shutdown
-
Constructor Details
-
Log4JLogSystem
public Log4JLogSystem()Deprecated.
-
-
Method Details
-
logVelocityMessage
Deprecated.Use log(level, message).- Specified by:
logVelocityMessage
in interfaceLogSystem
- Parameters:
level
-message
-
-