Class JsonloggerOperations

java.lang.Object
org.mule.extension.jsonlogger.internal.JsonloggerOperations

public class JsonloggerOperations extends Object
This class is a container for operations, every public method in this class will be taken as an extension operation.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.slf4j.Logger
    jsonLogger: JSON Logger output log log: Connector internal log
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    void
    logger(LoggerProcessor loggerProcessor, org.mule.runtime.extension.api.runtime.parameter.CorrelationInfo correlationInfo, org.mule.runtime.api.component.location.ComponentLocation location, JsonloggerConfiguration config, org.mule.runtime.extension.api.runtime.operation.FlowListener flowListener, org.mule.runtime.extension.api.runtime.process.CompletionCallback<Void,Void> callback)
    Log a new entry
    void
    loggerScope(String configurationRef, Priority priority, ScopeTracePoint scopeTracePoint, String category, String correlationId, org.mule.runtime.api.component.location.ComponentLocation location, org.mule.runtime.extension.api.runtime.parameter.CorrelationInfo correlationInfo, org.mule.runtime.extension.api.runtime.operation.FlowListener flowListener, org.mule.runtime.extension.api.runtime.route.Chain operations, org.mule.runtime.extension.api.runtime.process.CompletionCallback<Object,Object> callback)
    Log scope

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • jsonLogger

      protected transient org.slf4j.Logger jsonLogger
      jsonLogger: JSON Logger output log log: Connector internal log
  • Constructor Details

    • JsonloggerOperations

      public JsonloggerOperations()
  • Method Details

    • logger

      @Execution(BLOCKING) public void logger(@ParameterGroup(name="Logger") @Expression(NOT_SUPPORTED) LoggerProcessor loggerProcessor, org.mule.runtime.extension.api.runtime.parameter.CorrelationInfo correlationInfo, org.mule.runtime.api.component.location.ComponentLocation location, @Config JsonloggerConfiguration config, org.mule.runtime.extension.api.runtime.operation.FlowListener flowListener, org.mule.runtime.extension.api.runtime.process.CompletionCallback<Void,Void> callback)
      Log a new entry
    • loggerScope

      @Execution(BLOCKING) @MediaType("application/json") public void loggerScope(@DisplayName("Module configuration") @Example("JSON_Logger_Config") @Summary("Indicate which Global config should be associated with this Scope.") String configurationRef, @Optional(defaultValue="INFO") Priority priority, @Optional(defaultValue="OUTBOUND_REQUEST_SCOPE") ScopeTracePoint scopeTracePoint, @Optional @Summary("If not set, by default will log to the org.mule.extension.jsonlogger.JsonLogger category") String category, @Optional(defaultValue="#[correlationId]") @Placement(tab="Advanced") String correlationId, org.mule.runtime.api.component.location.ComponentLocation location, org.mule.runtime.extension.api.runtime.parameter.CorrelationInfo correlationInfo, org.mule.runtime.extension.api.runtime.operation.FlowListener flowListener, org.mule.runtime.extension.api.runtime.route.Chain operations, org.mule.runtime.extension.api.runtime.process.CompletionCallback<Object,Object> callback)
      Log scope
    • initLoggerCategory

      protected void initLoggerCategory(String category)