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:
Iterable<ResultLog.Entry>
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.voidDeprecated.voidhealthCheckError(String format, Object... args) Deprecated.voidDeprecated.static 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.voidDeprecated.Methods inherited from class org.apache.sling.hc.api.ResultLog
add, getAggregateStatus, iterator, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
FormattingResultLog
public FormattingResultLog()Deprecated.
-
-
Method Details
-
debug
Deprecated. -
info
Deprecated. -
warn
Deprecated. -
critical
Deprecated. -
healthCheckError
Deprecated. -
msHumanReadable
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
-