Class Log4j2OutputAppender
java.lang.Object
org.apache.skywalking.apm.toolkit.log.log4j.v2.x.Log4j2OutputAppender
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidappend(StringBuilder toAppendTo) As default, append "TID: N/A" to the output message, if SkyWalking agent in active mode, append the real traceId in the recent Context, if existed, or empty String.
-
Constructor Details
-
Log4j2OutputAppender
public Log4j2OutputAppender()
-
-
Method Details
-
append
As default, append "TID: N/A" to the output message, if SkyWalking agent in active mode, append the real traceId in the recent Context, if existed, or empty String.- Parameters:
toAppendTo- origin output message.
-