Package io.quarkiverse.logging.splunk
Class SplunkErrorCallback
- java.lang.Object
-
- io.quarkiverse.logging.splunk.SplunkErrorCallback
-
- All Implemented Interfaces:
com.splunk.logging.HttpEventCollectorErrorHandler.ErrorCallback
public class SplunkErrorCallback extends Object implements com.splunk.logging.HttpEventCollectorErrorHandler.ErrorCallback
-
-
Constructor Summary
Constructors Constructor Description SplunkErrorCallback()
SplunkErrorCallback(PrintStream stdout, PrintStream stderr)
For unit tests
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
error(List<com.splunk.logging.HttpEventCollectorEventInfo> list, Exception e)
Logs the original event to stdout (if console handler is disabled).
-
-
-
Constructor Detail
-
SplunkErrorCallback
public SplunkErrorCallback()
-
SplunkErrorCallback
public SplunkErrorCallback(PrintStream stdout, PrintStream stderr)
For unit tests
-
-