Class LogSenderHelper


  • public class LogSenderHelper
    extends Object
    Sumo Logic plugin for Jenkins model.

    Log Sender Helper

    Created by Sourabh Jain on 5/2019.

    • Field Detail

      • LOG

        public static final Logger LOG
    • Constructor Detail

      • LogSenderHelper

        public LogSenderHelper()
    • Method Detail

      • sendData

        public void sendData​(byte[] bytes)
      • sendDataWithFields

        public void sendDataWithFields​(byte[] bytes,
                                       HashMap<String,​String> fields)
      • sendLogsToPeriodicSourceCategory

        public void sendLogsToPeriodicSourceCategory​(String data)
      • sendMultiplePeriodicLogs

        public void sendMultiplePeriodicLogs​(List<String> messages)
      • sendLogsToMetricDataCategory

        public void sendLogsToMetricDataCategory​(List<String> messages)
      • sendJobStatusLogs

        public void sendJobStatusLogs​(String data)
      • sendConsoleLogs

        public void sendConsoleLogs​(String data,
                                    String jobName,
                                    int buildNumber,
                                    String stageName)
      • sendAuditLogs

        public void sendAuditLogs​(String data)