Package com.zfabrik.util.logging
Class LogLevelMBeanImpl
- java.lang.Object
-
- com.zfabrik.util.logging.LogLevelMBeanImpl
-
- All Implemented Interfaces:
LogLevelMBean
public class LogLevelMBeanImpl extends java.lang.Object implements LogLevelMBean
-
-
Constructor Summary
Constructors Constructor Description LogLevelMBeanImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLogConfig()
returns the number of level CONFIG log entriesint
getLogFine()
returns the number of level FINE log entriesint
getLogFiner()
returns the number of level FINER log entriesint
getLogFinest()
returns the number of level FINEST log entriesint
getLogInfo()
returns the number of level INFO log entriesint
getLogSevere()
returns the number of level SEVERE log entriesint
getLogWarning()
returns the number of level WARNING log entriesvoid
reset()
resets all countersjava.lang.String
toString()
-
-
-
Method Detail
-
getLogFinest
public int getLogFinest()
Description copied from interface:LogLevelMBean
returns the number of level FINEST log entries- Specified by:
getLogFinest
in interfaceLogLevelMBean
-
getLogFiner
public int getLogFiner()
Description copied from interface:LogLevelMBean
returns the number of level FINER log entries- Specified by:
getLogFiner
in interfaceLogLevelMBean
-
getLogFine
public int getLogFine()
Description copied from interface:LogLevelMBean
returns the number of level FINE log entries- Specified by:
getLogFine
in interfaceLogLevelMBean
-
getLogConfig
public int getLogConfig()
Description copied from interface:LogLevelMBean
returns the number of level CONFIG log entries- Specified by:
getLogConfig
in interfaceLogLevelMBean
-
getLogInfo
public int getLogInfo()
Description copied from interface:LogLevelMBean
returns the number of level INFO log entries- Specified by:
getLogInfo
in interfaceLogLevelMBean
-
getLogWarning
public int getLogWarning()
Description copied from interface:LogLevelMBean
returns the number of level WARNING log entries- Specified by:
getLogWarning
in interfaceLogLevelMBean
-
getLogSevere
public int getLogSevere()
Description copied from interface:LogLevelMBean
returns the number of level SEVERE log entries- Specified by:
getLogSevere
in interfaceLogLevelMBean
-
reset
public void reset()
Description copied from interface:LogLevelMBean
resets all counters- Specified by:
reset
in interfaceLogLevelMBean
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-