Class Log4jLogEventConstructorInterceptor
java.lang.Object
org.apache.skywalking.apm.toolkit.activation.log.log4j.v2.x.async.Log4jLogEventConstructorInterceptor
- All Implemented Interfaces:
org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstanceConstructorInterceptor
public class Log4jLogEventConstructorInterceptor
extends Object
implements org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstanceConstructorInterceptor
Log4jLogEvent implements LogEvent, which is a message in the Disruptor Array of the AsyncLoggerConfigDisruptor.class,
appended by AsyncLoggerConfig.class. The Log4jLogEvent is enhanced to carry the tid in the synchronization thread
using `dynamicField`.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonConstruct(org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.EnhancedInstance objInst, Object[] allArguments)
-
Constructor Details
-
Log4jLogEventConstructorInterceptor
public Log4jLogEventConstructorInterceptor()
-
-
Method Details
-
onConstruct
public void onConstruct(org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.EnhancedInstance objInst, Object[] allArguments) - Specified by:
onConstructin interfaceorg.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstanceConstructorInterceptor
-