velocity-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject cvs commit: jakarta-velocity/src/java/org/apache/velocity/runtime RuntimeConstants.java
Date Mon, 19 Mar 2001 05:20:30 GMT
geirm       01/03/18 21:20:30

  Modified:    src/java/org/apache/velocity/runtime RuntimeConstants.java
  Log:
  Added the new ones for the LOGSYSTEM stuff, and moved the log prefixes here from
  LogSystem interface
  
  Revision  Changes    Path
  1.20      +19 -0     jakarta-velocity/src/java/org/apache/velocity/runtime/RuntimeConstants.java
  
  Index: RuntimeConstants.java
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/src/java/org/apache/velocity/runtime/RuntimeConstants.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- RuntimeConstants.java	2001/03/17 05:02:03	1.19
  +++ RuntimeConstants.java	2001/03/19 05:20:30	1.20
  @@ -75,6 +75,17 @@
        */
       public static final String RUNTIME_LOG = "runtime.log";
       
  +    /**
  +     *  externally provided logger
  +     */
  +    public static final String RUNTIME_LOG_LOGSYSTEM = "runtime.log.logsystem";
  +
  +
  +    /**
  +     *  class of log system to use
  +     */
  +    public static final String RUNTIME_LOG_LOGSYSTEM_CLASS = "runtime.log.logsystem.class";
  +
       /** 
        * Stack trace output for error messages.
        */
  @@ -103,6 +114,14 @@
        * The encoding to use for the template.
        */
       public static final String TEMPLATE_ENCODING = "template.encoding";
  +
  +    /**
  +     *  Log message prefixes
  +     */
  +    public final static String DEBUG_PREFIX = " [debug] ";
  +    public final static String INFO_PREFIX  = "  [info] ";
  +    public final static String WARN_PREFIX  = "  [warn] ";
  +    public final static String ERROR_PREFIX = " [error] ";
   
       /*
        * ----------------------------------------------------------------------
  
  
  

Mime
View raw message