Package org.apache.velocity.runtime.log
Interface LogSystem
-
- All Known Implementing Classes:
NullLogSystem,PrimordialLogSystem
public interface LogSystemDeprecated.Use LogChute instead!Old base interface that old logging systems needed to implement.- Version:
- $Id: LogSystem.java 730039 2008-12-30 03:53:19Z byron $
-
-
Field Summary
Fields Modifier and Type Field Description static intDEBUG_IDDeprecated.ID for debug messages.static booleanDEBUG_ONDeprecated.This is unused and meaninglessstatic intERROR_IDDeprecated.ID for error messages.static intINFO_IDDeprecated.ID for info messages.static intWARN_IDDeprecated.ID for warning messages.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidinit(RuntimeServices rs)Deprecated.Initializes this LogSystem.voidlogVelocityMessage(int level, java.lang.String message)Deprecated.Use log(level, message).
-
-
-
Field Detail
-
DEBUG_ON
static final boolean DEBUG_ON
Deprecated.This is unused and meaningless- See Also:
- Constant Field Values
-
DEBUG_ID
static final int DEBUG_ID
Deprecated.ID for debug messages.- See Also:
- Constant Field Values
-
INFO_ID
static final int INFO_ID
Deprecated.ID for info messages.- See Also:
- Constant Field Values
-
WARN_ID
static final int WARN_ID
Deprecated.ID for warning messages.- See Also:
- Constant Field Values
-
ERROR_ID
static final int ERROR_ID
Deprecated.ID for error messages.- See Also:
- Constant Field Values
-
-
Method Detail
-
init
void init(RuntimeServices rs) throws java.lang.Exception
Deprecated.Initializes this LogSystem.- Parameters:
rs-- Throws:
java.lang.Exception
-
logVelocityMessage
void logVelocityMessage(int level, java.lang.String message)Deprecated.Use log(level, message).- Parameters:
level-message-
-
-