1 package org.apache.velocity.runtime.log; 2 3 18 19 import org.apache.velocity.runtime.RuntimeServices; 20 21 28 public interface LogSystem 29 { 30 public final static boolean DEBUG_ON = true; 31 32 35 public final static int DEBUG_ID = 0; 36 37 40 public final static int INFO_ID = 1; 41 42 45 public final static int WARN_ID = 2; 46 47 50 public final static int ERROR_ID = 3; 51 52 55 public void init( RuntimeServices rs ) throws Exception ; 56 57 60 public void logVelocityMessage(int level, String message); 61 } 62 | Popular Tags |