Modifier and Type | Method and Description |
---|---|
static CallStack |
newCallStack(String messageFormat,
boolean useTimestamp)
Constructs a new
CallStack using the fastest allowed strategy. |
public static CallStack newCallStack(String messageFormat, boolean useTimestamp)
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 literallyCopyright © 2001–2017 The Apache Software Foundation. All rights reserved.