Package org.apache.velocity.runtime.log
Class SimpleLog4JLogSystem
java.lang.Object
org.apache.velocity.runtime.log.SimpleLog4JLogSystem
- All Implemented Interfaces:
LogSystem
Deprecated.
Use Log4JLogChute instead.
This class is deprecated in favor of the new Log4JLogChute
,
which makes use of Log4J's Logger
rather than its deprecated
Category
class.
- Version:
- $Id: SimpleLog4JLogSystem.java 718424 2008-11-17 22:50:43Z nbubna $
- Author:
- <a href="mailto:geirm@apache.org>Geir Magnusson Jr.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.log4j.Category
Deprecated.log4java logging interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
finalize()
Deprecated.Also do a shutdown if the object is destroy()'d.void
init
(RuntimeServices rs) Deprecated.Initializes this LogSystem.void
logVelocityMessage
(int level, String message) Deprecated.logs messagesvoid
shutdown()
Deprecated.Close all destinations
-
Field Details
-
logger
protected org.apache.log4j.Category loggerDeprecated.log4java logging interface
-
-
Constructor Details
-
SimpleLog4JLogSystem
public SimpleLog4JLogSystem()Deprecated.
-
-
Method Details
-
init
Deprecated.Description copied from interface:LogSystem
Initializes this LogSystem. -
logVelocityMessage
Deprecated.logs messages- Specified by:
logVelocityMessage
in interfaceLogSystem
- Parameters:
level
- severity levelmessage
- complete error message
-
finalize
Deprecated.Also do a shutdown if the object is destroy()'d. -
shutdown
public void shutdown()Deprecated.Close all destinations
-