1 9 package org.ozoneDB.util; 10 11 12 16 public interface LogWriter { 17 18 final static String LOG_FILE = "ozone.log"; 19 static final String LOG_CONFIG_FILE_NAME = "logging.properties"; 20 21 public final static int FATAL = OzoneDebugLevel.FATAL_INT; 22 public final static int ERROR = OzoneDebugLevel.ERROR_INT; 23 public final static int WARN = OzoneDebugLevel.WARN_INT; 24 public final static int INFO = OzoneDebugLevel.INFO_INT; 25 public final static int DEBUG = OzoneDebugLevel.DEBUG_INT; 26 public final static int DEBUG1 = OzoneDebugLevel.DEBUG1_INT; 27 public final static int DEBUG2 = OzoneDebugLevel.DEBUG2_INT; 28 public final static int DEBUG3 = OzoneDebugLevel.DEBUG3_INT; 29 30 34 public boolean hasTarget( int level ); 35 36 38 40 public void newEntry( Object sender, String msg, int level ); 41 42 public void newEntry( Object sender, String msg, Throwable e, int level ); 43 } 44 | Popular Tags |