Package org.apache.sling.hc.util
Class FormattingResultLog
- java.lang.Object
-
- org.apache.sling.hc.api.ResultLog
-
- org.apache.sling.hc.util.FormattingResultLog
-
- All Implemented Interfaces:
java.lang.Iterable<ResultLog.Entry>
@Deprecated @ProviderType public class FormattingResultLog extends ResultLog
Deprecated.Utility that provides a logging-like facade on a ResultLog
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.sling.hc.api.ResultLog
ResultLog.Entry
-
-
Constructor Summary
Constructors Constructor Description FormattingResultLog()Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidcritical(java.lang.String format, java.lang.Object... args)Deprecated.voiddebug(java.lang.String format, java.lang.Object... args)Deprecated.voidhealthCheckError(java.lang.String format, java.lang.Object... args)Deprecated.voidinfo(java.lang.String format, java.lang.Object... args)Deprecated.static java.lang.StringmsHumanReadable(long millis)Deprecated.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.voidwarn(java.lang.String format, java.lang.Object... args)Deprecated.-
Methods inherited from class org.apache.sling.hc.api.ResultLog
add, getAggregateStatus, iterator, toString
-
-
-
-
Method Detail
-
debug
public void debug(java.lang.String format, java.lang.Object... args)Deprecated.
-
info
public void info(java.lang.String format, java.lang.Object... args)Deprecated.
-
warn
public void warn(java.lang.String format, java.lang.Object... args)Deprecated.
-
critical
public void critical(java.lang.String format, java.lang.Object... args)Deprecated.
-
healthCheckError
public void healthCheckError(java.lang.String format, java.lang.Object... args)Deprecated.
-
msHumanReadable
public static java.lang.String msHumanReadable(long millis)
Deprecated.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.- Parameters:
millis- milliseconds- Returns:
- a string with a number and a unit
-
-