Package com.mchange.v2.log
Class NullMLogger
- java.lang.Object
-
- com.mchange.v2.log.NullMLogger
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addHandler(java.lang.Object h)
void
config(java.lang.String msg)
void
entering(java.lang.String srcClass, java.lang.String srcMeth)
void
entering(java.lang.String srcClass, java.lang.String srcMeth, java.lang.Object param)
void
entering(java.lang.String srcClass, java.lang.String srcMeth, java.lang.Object[] params)
void
exiting(java.lang.String srcClass, java.lang.String srcMeth)
void
exiting(java.lang.String srcClass, java.lang.String srcMeth, java.lang.Object result)
void
fine(java.lang.String msg)
void
finer(java.lang.String msg)
void
finest(java.lang.String msg)
java.lang.Object
getFilter()
java.lang.Object[]
getHandlers()
MLevel
getLevel()
java.lang.String
getName()
java.util.ResourceBundle
getResourceBundle()
java.lang.String
getResourceBundleName()
boolean
getUseParentHandlers()
void
info(java.lang.String msg)
static MLogger
instance()
boolean
isLoggable(MLevel l)
void
log(MLevel l, java.lang.String msg)
void
log(MLevel l, java.lang.String msg, java.lang.Object param)
void
log(MLevel l, java.lang.String msg, java.lang.Object[] params)
void
log(MLevel l, java.lang.String msg, java.lang.Throwable t)
void
logp(MLevel l, java.lang.String srcClass, java.lang.String srcMeth, java.lang.String msg)
void
logp(MLevel l, java.lang.String srcClass, java.lang.String srcMeth, java.lang.String msg, java.lang.Object param)
void
logp(MLevel l, java.lang.String srcClass, java.lang.String srcMeth, java.lang.String msg, java.lang.Object[] params)
void
logp(MLevel l, java.lang.String srcClass, java.lang.String srcMeth, java.lang.String msg, java.lang.Throwable t)
void
logrb(MLevel l, java.lang.String srcClass, java.lang.String srcMeth, java.lang.String rb, java.lang.String msg)
void
logrb(MLevel l, java.lang.String srcClass, java.lang.String srcMeth, java.lang.String rb, java.lang.String msg, java.lang.Object param)
void
logrb(MLevel l, java.lang.String srcClass, java.lang.String srcMeth, java.lang.String rb, java.lang.String msg, java.lang.Object[] params)
void
logrb(MLevel l, java.lang.String srcClass, java.lang.String srcMeth, java.lang.String rb, java.lang.String msg, java.lang.Throwable t)
void
removeHandler(java.lang.Object h)
void
setFilter(java.lang.Object java14Filter)
void
setLevel(MLevel l)
void
setUseParentHandlers(boolean uph)
void
severe(java.lang.String msg)
void
throwing(java.lang.String srcClass, java.lang.String srcMeth, java.lang.Throwable t)
void
warning(java.lang.String msg)
-
-
-
Method Detail
-
instance
public static MLogger instance()
-
addHandler
public void addHandler(java.lang.Object h) throws java.lang.SecurityException
- Specified by:
addHandler
in interfaceMLogger
- Throws:
java.lang.SecurityException
-
entering
public void entering(java.lang.String srcClass, java.lang.String srcMeth)
-
entering
public void entering(java.lang.String srcClass, java.lang.String srcMeth, java.lang.Object param)
-
entering
public void entering(java.lang.String srcClass, java.lang.String srcMeth, java.lang.Object[] params)
-
exiting
public void exiting(java.lang.String srcClass, java.lang.String srcMeth)
-
exiting
public void exiting(java.lang.String srcClass, java.lang.String srcMeth, java.lang.Object result)
-
getHandlers
public java.lang.Object[] getHandlers()
- Specified by:
getHandlers
in interfaceMLogger
-
getResourceBundle
public java.util.ResourceBundle getResourceBundle()
- Specified by:
getResourceBundle
in interfaceMLogger
-
getResourceBundleName
public java.lang.String getResourceBundleName()
- Specified by:
getResourceBundleName
in interfaceMLogger
-
getUseParentHandlers
public boolean getUseParentHandlers()
- Specified by:
getUseParentHandlers
in interfaceMLogger
-
isLoggable
public boolean isLoggable(MLevel l)
- Specified by:
isLoggable
in interfaceMLogger
-
log
public void log(MLevel l, java.lang.String msg, java.lang.Object param)
-
log
public void log(MLevel l, java.lang.String msg, java.lang.Object[] params)
-
log
public void log(MLevel l, java.lang.String msg, java.lang.Throwable t)
-
logp
public void logp(MLevel l, java.lang.String srcClass, java.lang.String srcMeth, java.lang.String msg)
-
logp
public void logp(MLevel l, java.lang.String srcClass, java.lang.String srcMeth, java.lang.String msg, java.lang.Object param)
-
logp
public void logp(MLevel l, java.lang.String srcClass, java.lang.String srcMeth, java.lang.String msg, java.lang.Object[] params)
-
logp
public void logp(MLevel l, java.lang.String srcClass, java.lang.String srcMeth, java.lang.String msg, java.lang.Throwable t)
-
logrb
public void logrb(MLevel l, java.lang.String srcClass, java.lang.String srcMeth, java.lang.String rb, java.lang.String msg)
-
logrb
public void logrb(MLevel l, java.lang.String srcClass, java.lang.String srcMeth, java.lang.String rb, java.lang.String msg, java.lang.Object param)
-
logrb
public void logrb(MLevel l, java.lang.String srcClass, java.lang.String srcMeth, java.lang.String rb, java.lang.String msg, java.lang.Object[] params)
-
logrb
public void logrb(MLevel l, java.lang.String srcClass, java.lang.String srcMeth, java.lang.String rb, java.lang.String msg, java.lang.Throwable t)
-
removeHandler
public void removeHandler(java.lang.Object h) throws java.lang.SecurityException
- Specified by:
removeHandler
in interfaceMLogger
- Throws:
java.lang.SecurityException
-
setFilter
public void setFilter(java.lang.Object java14Filter) throws java.lang.SecurityException
-
setLevel
public void setLevel(MLevel l) throws java.lang.SecurityException
-
setUseParentHandlers
public void setUseParentHandlers(boolean uph)
- Specified by:
setUseParentHandlers
in interfaceMLogger
-
throwing
public void throwing(java.lang.String srcClass, java.lang.String srcMeth, java.lang.Throwable t)
-
-