1 22 23 24 package com.mchange.v2.log; 25 26 import java.util.*; 27 28 37 public interface MLogger 38 { 39 public ResourceBundle getResourceBundle(); 40 public String getResourceBundleName(); 41 public void setFilter(Object java14Filter) throws SecurityException ; 42 public Object getFilter(); 43 public void log(MLevel l, String msg); 44 public void log(MLevel l, String msg, Object param); 45 public void log(MLevel l,String msg, Object [] params); 46 public void log(MLevel l, String msg,Throwable t); 47 public void logp(MLevel l, String srcClass, String srcMeth, String msg); 48 public void logp(MLevel l, String srcClass, String srcMeth, String msg, Object param); 49 public void logp(MLevel l, String srcClass, String srcMeth, String msg, Object [] params); 50 public void logp(MLevel l, String srcClass, String srcMeth, String msg, Throwable t); 51 public void logrb(MLevel l, String srcClass, String srcMeth, String rb, String msg); 52 public void logrb(MLevel l, String srcClass, String srcMeth, String rb, String msg, Object param); 53 public void logrb(MLevel l, String srcClass, String srcMeth, String rb, String msg, Object [] params); 54 public void logrb(MLevel l, String srcClass, String srcMeth, String rb, String msg, Throwable t); 55 public void entering(String srcClass, String srcMeth); 56 public void entering(String srcClass, String srcMeth, Object param); 57 public void entering(String srcClass, String srcMeth, Object params[]); 58 public void exiting(String srcClass, String srcMeth); 59 public void exiting(String srcClass, String srcMeth, Object result); 60 public void throwing(String srcClass, String srcMeth, Throwable t); 61 public void severe(String msg); 62 public void warning(String msg); 63 public void info(String msg); 64 public void config(String msg); 65 public void fine(String msg); 66 public void finer(String msg); 67 public void finest(String msg); 68 public void setLevel(MLevel l) throws SecurityException ; 69 public MLevel getLevel(); 70 public boolean isLoggable(MLevel l); 71 public String getName(); 72 public void addHandler(Object h) throws SecurityException ; 73 public void removeHandler(Object h) throws SecurityException ; 74 public Object [] getHandlers(); 75 public void setUseParentHandlers(boolean uph); 76 public boolean getUseParentHandlers(); 77 } 78 79 | Popular Tags |