Class JsonloggerOperations
java.lang.Object
org.mule.extension.jsonlogger.internal.JsonloggerOperations
This class is a container for operations, every public method in this class will be taken as an extension operation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.slf4j.LoggerjsonLogger: JSON Logger output log log: Connector internal log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinitLoggerCategory(String category) voidlogger(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 entryvoidloggerScope(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
-
Field Details
-
jsonLogger
protected transient org.slf4j.Logger jsonLoggerjsonLogger: 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
-