Package org.apache.logging.log4j.message
Interface ThreadInformation
public interface ThreadInformation
Interface used to print basic or extended thread information.
- Since:
- 2.9.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
printStack
(StringBuilder sb, StackTraceElement[] trace) Formats the stack trace into the provided StringBuilder.void
Formats the thread information into the provided StringBuilder.
-
Method Details
-
printThreadInfo
Formats the thread information into the provided StringBuilder.- Parameters:
sb
- The StringBuilder.
-
printStack
Formats the stack trace into the provided StringBuilder.- Parameters:
sb
- The StringBuilder.trace
- The stack trace element array to format.
-