public final class CLIReportingUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BUILD_VERSION_PROPERTY |
static long |
MB |
Constructor and Description |
---|
CLIReportingUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
formatDuration(long duration) |
static String |
formatTimestamp(long timestamp) |
static void |
showError(org.slf4j.Logger logger,
String message,
Throwable e,
boolean showStackTrace) |
static String |
showVersion() |
static String |
showVersionMinimal() |
public static final long MB
public static final String BUILD_VERSION_PROPERTY
public static String showVersion()
public static String showVersionMinimal()
public static void showError(org.slf4j.Logger logger, String message, Throwable e, boolean showStackTrace)
public static String formatTimestamp(long timestamp)
public static String formatDuration(long duration)
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.