Constructor and Description |
---|
TraceUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
captureDebugTrace(Object target) |
static String |
formatRawTrace(Pipe pipe,
String message)
Method formatRawTrace does not include the pipe name
|
static String |
formatTrace(FlowElement flowElement,
String message) |
static String |
formatTrace(Operation operation,
String message) |
static String |
formatTrace(Pipe pipe,
String message) |
static String |
formatTrace(Scheme scheme,
String message) |
static String |
formatTrace(Tap tap,
String message) |
static void |
registerApiBoundary(String apiBoundary)
Add a regex that serves as a boundary for tracing.
|
static void |
setTrace(Object object,
String trace)
Allows for custom trace fields on Pipe, Tap, and Scheme types
|
static String |
stringifyStackTrace(Throwable throwable,
String lineSeparator,
boolean trimLines,
int lineLimit) |
static void |
unregisterApiBoundary(String apiBoundary)
Remove a regex as a boundary for tracing.
|
public TraceUtil()
public static void registerApiBoundary(String apiBoundary)
captureDebugTrace(Object)
will be from a caller that comes higher in the
stack than any apiBoundary package or class.apiBoundary
- public static void unregisterApiBoundary(String apiBoundary)
apiBoundary
- public static void setTrace(Object object, String trace)
object
- trace
- public static String formatTrace(Scheme scheme, String message)
public static String formatTrace(FlowElement flowElement, String message)
public static String formatRawTrace(Pipe pipe, String message)
pipe
- of type Pipemessage
- of type Stringpublic static String formatTrace(Pipe pipe, String message)
public static String formatTrace(Tap tap, String message)
public static String formatTrace(Operation operation, String message)
public static String captureDebugTrace(Object target)
public static String stringifyStackTrace(Throwable throwable, String lineSeparator, boolean trimLines, int lineLimit)
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.