Class SplunkErrorCallback

  • All Implemented Interfaces:
    com.splunk.logging.HttpEventCollectorErrorHandler.ErrorCallback

    public class SplunkErrorCallback
    extends Object
    implements com.splunk.logging.HttpEventCollectorErrorHandler.ErrorCallback
    • Method Detail

      • error

        public void error​(List<com.splunk.logging.HttpEventCollectorEventInfo> list,
                          Exception e)
        Logs the original event to stdout (if console handler is disabled). Logs the error to stderr.
        Specified by:
        error in interface com.splunk.logging.HttpEventCollectorErrorHandler.ErrorCallback