@ProviderType public class FormattingResultLog extends ResultLog
ResultLog.Entry
Constructor and Description |
---|
FormattingResultLog() |
Modifier and Type | Method and Description |
---|---|
static String |
bytesHumanReadable(double size)
Utility method to return any magnitude of bytes in a human readable format using the appropriate unit (kB, MB, GB)
depending on the magnitude of the input.
|
void |
critical(String format,
Object... args) |
void |
debug(String format,
Object... args) |
void |
healthCheckError(String format,
Object... args) |
void |
info(String format,
Object... args) |
static String |
msHumanReadable(long millis)
Utility method to return any magnitude of milliseconds in a human readable format using the appropriate time unit (ms, sec, min)
depending on the magnitude of the input.
|
void |
temporarilyUnavailable(String format,
Object... args) |
void |
warn(String format,
Object... args) |
add, getAggregateStatus, iterator, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public static String msHumanReadable(long millis)
millis
- millisecondspublic static String bytesHumanReadable(double size)
size
- in bytesCopyright © 2013–2019 The Apache Software Foundation. All rights reserved.