org.apache.velocity.runtime.log
Class  PrimordialLogSystem
java.lang.Object
  |
  +--org.apache.velocity.runtime.log.PrimordialLogSystem
- All Implemented Interfaces: 
 - LogSystem
 
- public class PrimordialLogSystem
- extends java.lang.Object
- implements LogSystem
   
Pre-init logger.  I believe that this was suggested by
  Carsten Ziegeler  and 
  Jeroen C. van Gelderen.  If this isn't correct, let me
  know as this was a good idea...
- Version: 
 - $Id: PrimordialLogSystem.java,v 1.2 2001/09/24 21:25:30 geirm Exp $
 
- Author: 
 - Geir Magnusson Jr.
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait | 
 
pendingMessages
private java.util.Vector pendingMessages
rsvc
private RuntimeServices rsvc
PrimordialLogSystem
public PrimordialLogSystem()
- default CTOR.
 
init
public void init(RuntimeServices rs)
          throws java.lang.Exception
- Description copied from interface: 
LogSystem 
- init()
- Specified by: 
 init in interface LogSystem
 
 
logVelocityMessage
public void logVelocityMessage(int level,
                               java.lang.String message)
- logs messages.  All we do is store them until
   'later'.
- Specified by: 
 logVelocityMessage in interface LogSystem
 
- Parameters:
 level - severity levelmessage - complete error message
 
 
dumpLogMessages
public void dumpLogMessages(LogSystem newLogger)
- dumps the log messages this logger is holding into a new logger
 
 
Copyright © 2003 Apache Software Foundation. All Rights Reserved.