org.apache.velocity.runtime.log
Interface LogSystem
- All Known Implementing Classes:
- AvalonLogSystem, Log4JLogSystem, EventHandlingTestCase, ExternalLoggerTest
- public interface LogSystem
Base interface that Logging systems need to implement.
- Version:
- $Id: LogSystem.java,v 1.5 2001/03/19 23:02:19 geirm Exp $
- Author:
- Jon S. Stevens, Geir Magnusson Jr.
Field Summary |
static int |
DEBUG_ID
Prefix for debug messages. |
static boolean |
DEBUG_ON
|
static int |
ERROR_ID
Prefix for error messages. |
static int |
INFO_ID
Prefix for info messages. |
static int |
WARN_ID
Prefix for warning messages. |
Method Summary |
void |
logVelocityMessage(int level,
java.lang.String message)
Send a log message from Velocity. |
DEBUG_ON
public static final boolean DEBUG_ON
DEBUG_ID
public static final int DEBUG_ID
- Prefix for debug messages.
INFO_ID
public static final int INFO_ID
- Prefix for info messages.
WARN_ID
public static final int WARN_ID
- Prefix for warning messages.
ERROR_ID
public static final int ERROR_ID
- Prefix for error messages.
logVelocityMessage
public void logVelocityMessage(int level,
java.lang.String message)
- Send a log message from Velocity.
Copyright © 2001 Apache Software Foundation. All Rights Reserved.