Package com.mchange.util.impl
Class FSMessageLoggerAdapter
- java.lang.Object
-
- com.mchange.util.impl.FSMessageLoggerAdapter
-
- All Implemented Interfaces:
FailSuppressedMessageLogger
,MessageLogger
,RobustMessageLogger
public class FSMessageLoggerAdapter extends java.lang.Object implements FailSuppressedMessageLogger
-
-
Constructor Summary
Constructors Constructor Description FSMessageLoggerAdapter(MessageLogger wrapMe)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearFailures()
java.util.Iterator
getFailures()
returns an Iterator of IOExceptions, or null if there have been no failuresvoid
log(java.lang.String message)
void
log(java.lang.Throwable t, java.lang.String message)
-
-
-
Constructor Detail
-
FSMessageLoggerAdapter
public FSMessageLoggerAdapter(MessageLogger wrapMe)
-
-
Method Detail
-
log
public void log(java.lang.String message)
- Specified by:
log
in interfaceMessageLogger
- Specified by:
log
in interfaceRobustMessageLogger
-
log
public void log(java.lang.Throwable t, java.lang.String message)
- Specified by:
log
in interfaceMessageLogger
- Specified by:
log
in interfaceRobustMessageLogger
-
getFailures
public java.util.Iterator getFailures()
Description copied from interface:FailSuppressedMessageLogger
returns an Iterator of IOExceptions, or null if there have been no failures- Specified by:
getFailures
in interfaceFailSuppressedMessageLogger
-
clearFailures
public void clearFailures()
- Specified by:
clearFailures
in interfaceFailSuppressedMessageLogger
-
-