Package com.mchange.v2.log
Interface MLogger
-
- All Known Implementing Classes:
NullMLogger
public interface MLogger
This is an interface designed to wrap around the JDK1.4 logging API, without having any compilation dependencies on that API, so that applications that use MLogger in a non JDK1.4 environment, or where some other logging library is prefrerred, may do so. Calls to handler and filter related methods may be ignored if some logging system besides jdk1.4 logging is the underlying library.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
addHandler(java.lang.Object h)
Deprecated.stick to common denominator logging through MLog facadevoid
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()
Deprecated.stick to common denominator logging through MLog facadejava.lang.Object[]
getHandlers()
Deprecated.stick to common denominator logging through MLog facadeMLevel
getLevel()
Deprecated.stick to common denominator logging through MLog facadejava.lang.String
getName()
java.util.ResourceBundle
getResourceBundle()
Deprecated.stick to common denominator logging through MLog facadejava.lang.String
getResourceBundleName()
Deprecated.stick to common denominator logging through MLog facadeboolean
getUseParentHandlers()
Deprecated.stick to common denominator logging through MLog facadevoid
info(java.lang.String msg)
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)
Deprecated.stick to common denominator logging through MLog facadevoid
setFilter(java.lang.Object java14Filter)
Deprecated.stick to common denominator logging through MLog facadevoid
setLevel(MLevel l)
Deprecated.stick to common denominator logging through MLog facadevoid
setUseParentHandlers(boolean uph)
Deprecated.stick to common denominator logging through MLog facadevoid
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
-
getName
java.lang.String getName()
-
log
void log(MLevel l, java.lang.String msg)
-
log
void log(MLevel l, java.lang.String msg, java.lang.Object param)
-
log
void log(MLevel l, java.lang.String msg, java.lang.Object[] params)
-
log
void log(MLevel l, java.lang.String msg, java.lang.Throwable t)
-
logp
void logp(MLevel l, java.lang.String srcClass, java.lang.String srcMeth, java.lang.String msg)
-
logp
void logp(MLevel l, java.lang.String srcClass, java.lang.String srcMeth, java.lang.String msg, java.lang.Object param)
-
logp
void logp(MLevel l, java.lang.String srcClass, java.lang.String srcMeth, java.lang.String msg, java.lang.Object[] params)
-
logp
void logp(MLevel l, java.lang.String srcClass, java.lang.String srcMeth, java.lang.String msg, java.lang.Throwable t)
-
logrb
void logrb(MLevel l, java.lang.String srcClass, java.lang.String srcMeth, java.lang.String rb, java.lang.String msg)
-
logrb
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
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
void logrb(MLevel l, java.lang.String srcClass, java.lang.String srcMeth, java.lang.String rb, java.lang.String msg, java.lang.Throwable t)
-
entering
void entering(java.lang.String srcClass, java.lang.String srcMeth)
-
entering
void entering(java.lang.String srcClass, java.lang.String srcMeth, java.lang.Object param)
-
entering
void entering(java.lang.String srcClass, java.lang.String srcMeth, java.lang.Object[] params)
-
exiting
void exiting(java.lang.String srcClass, java.lang.String srcMeth)
-
exiting
void exiting(java.lang.String srcClass, java.lang.String srcMeth, java.lang.Object result)
-
throwing
void throwing(java.lang.String srcClass, java.lang.String srcMeth, java.lang.Throwable t)
-
severe
void severe(java.lang.String msg)
-
warning
void warning(java.lang.String msg)
-
info
void info(java.lang.String msg)
-
config
void config(java.lang.String msg)
-
fine
void fine(java.lang.String msg)
-
finer
void finer(java.lang.String msg)
-
finest
void finest(java.lang.String msg)
-
isLoggable
boolean isLoggable(MLevel l)
-
getResourceBundle
java.util.ResourceBundle getResourceBundle()
Deprecated.stick to common denominator logging through MLog facade
-
getResourceBundleName
java.lang.String getResourceBundleName()
Deprecated.stick to common denominator logging through MLog facade
-
setFilter
void setFilter(java.lang.Object java14Filter) throws java.lang.SecurityException
Deprecated.stick to common denominator logging through MLog facade- Throws:
java.lang.SecurityException
-
getFilter
java.lang.Object getFilter()
Deprecated.stick to common denominator logging through MLog facade
-
setLevel
void setLevel(MLevel l) throws java.lang.SecurityException
Deprecated.stick to common denominator logging through MLog facade- Throws:
java.lang.SecurityException
-
getLevel
MLevel getLevel()
Deprecated.stick to common denominator logging through MLog facade
-
addHandler
void addHandler(java.lang.Object h) throws java.lang.SecurityException
Deprecated.stick to common denominator logging through MLog facade- Throws:
java.lang.SecurityException
-
removeHandler
void removeHandler(java.lang.Object h) throws java.lang.SecurityException
Deprecated.stick to common denominator logging through MLog facade- Throws:
java.lang.SecurityException
-
getHandlers
java.lang.Object[] getHandlers()
Deprecated.stick to common denominator logging through MLog facade
-
setUseParentHandlers
void setUseParentHandlers(boolean uph)
Deprecated.stick to common denominator logging through MLog facade
-
getUseParentHandlers
boolean getUseParentHandlers()
Deprecated.stick to common denominator logging through MLog facade
-
-