org.apache.velocity.runtime.log
Interface LogSystem

All Known Implementing Classes:
AvalonLogSystem, Log4JLogSystem, NullLogSystem, PrimordialLogSystem, SimpleLog4JLogSystem

Deprecated. Use LogChute instead!

public interface LogSystem

Old base interface that old logging systems needed to implement.

Version:
$Id: LogSystem.java 463298 2006-10-12 16:10:32Z henning $
Author:
Jon S. Stevens, Geir Magnusson Jr.

Field Summary
static int DEBUG_ID
          Deprecated. ID for debug messages.
static boolean DEBUG_ON
          Deprecated. This is unused and meaningless
static int ERROR_ID
          Deprecated. ID for error messages.
static int INFO_ID
          Deprecated. ID for info messages.
static int WARN_ID
          Deprecated. ID for warning messages.
 
Method Summary
 void init(RuntimeServices rs)
          Deprecated. Initializes this LogSystem.
 void logVelocityMessage(int level, 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 Exception
Deprecated. 
Initializes this LogSystem.

Parameters:
rs -
Throws:
Exception

logVelocityMessage

void logVelocityMessage(int level,
                        String message)
Deprecated. Use log(level, message).

Parameters:
level -
message -


Copyright © 2000-2008 The Apache Software Foundation. All Rights Reserved.