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