@Immutable public final class DefaultPerformanceLogFormatter extends Object implements PerformanceLogFormatter
PerformanceLogFormatter implementation.| Constructor and Description |
|---|
DefaultPerformanceLogFormatter() |
| Modifier and Type | Method and Description |
|---|---|
String |
format(StackTraceElement from,
StackTraceElement to,
long millis,
String message)
Formats a log message according to the given input.
|
public String format(StackTraceElement from, StackTraceElement to, long millis, String message)
PerformanceLogFormatterformat in interface PerformanceLogFormatterfrom - the point where performance logging was started (can be null in theory).to - the point where performance logging was stopped (can be null in theory).millis - the number of elapsed milliseconds.message - an optional message.Copyright © 2012-2013. All Rights Reserved.