public final class CallStackUtils
extends java.lang.Object
CallStack
.Modifier and Type | Method and Description |
---|---|
static CallStack |
newCallStack(java.lang.String messageFormat,
boolean useTimestamp)
Deprecated.
|
static CallStack |
newCallStack(java.lang.String messageFormat,
boolean useTimestamp,
boolean requireFullStackTrace)
Constructs a new
CallStack using the fasted allowed strategy. |
@Deprecated public static CallStack newCallStack(java.lang.String messageFormat, boolean useTimestamp)
newCallStack(String, boolean, boolean)
CallStack
using the fastest allowed strategy.messageFormat
- message (or format) to print first in stack tracesuseTimestamp
- if true, interpret message as a SimpleDateFormat and print the created timestamp; otherwise,
print message format literallypublic static CallStack newCallStack(java.lang.String messageFormat, boolean useTimestamp, boolean requireFullStackTrace)
CallStack
using the fasted allowed strategy.messageFormat
- message (or format) to print first in stack tracesuseTimestamp
- if true, interpret message as a SimpleDateFormat and print the created timestamp;
otherwise, print message format literallyrequireFullStackTrace
- if true, forces the use of a stack walking mechanism that includes full stack trace
information; otherwise, uses a faster implementation if possibleCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.