Class LogEventSingleton

java.lang.Object
org.mule.extension.jsonlogger.internal.singleton.LogEventSingleton
All Implemented Interfaces:
org.mule.runtime.api.lifecycle.Disposable, org.mule.runtime.api.lifecycle.Initialisable

public class LogEventSingleton extends Object implements org.mule.runtime.api.lifecycle.Initialisable, org.mule.runtime.api.lifecycle.Disposable
  • Constructor Details

    • LogEventSingleton

      public LogEventSingleton()
  • Method Details

    • translate

      public static void translate(LogEvent logEvent, long sequence, String correlationId, String log, String configName)
    • publishToExternalDestination

      public void publishToExternalDestination(String correlationId, String finalLog, String configName)
    • initialise

      public void initialise() throws org.mule.runtime.api.lifecycle.InitialisationException
      Specified by:
      initialise in interface org.mule.runtime.api.lifecycle.Initialisable
      Throws:
      org.mule.runtime.api.lifecycle.InitialisationException
    • dispose

      public void dispose()
      Specified by:
      dispose in interface org.mule.runtime.api.lifecycle.Disposable