Class FormattingResultLog

java.lang.Object
org.apache.sling.hc.api.ResultLog
org.apache.sling.hc.util.FormattingResultLog
All Implemented Interfaces:
Iterable<ResultLog.Entry>

@Deprecated @ProviderType public class FormattingResultLog extends ResultLog
Deprecated.
Utility that provides a logging-like facade on a ResultLog
  • Constructor Details

    • FormattingResultLog

      public FormattingResultLog()
      Deprecated.
  • Method Details

    • debug

      public void debug(String format, Object... args)
      Deprecated.
    • info

      public void info(String format, Object... args)
      Deprecated.
    • warn

      public void warn(String format, Object... args)
      Deprecated.
    • critical

      public void critical(String format, Object... args)
      Deprecated.
    • healthCheckError

      public void healthCheckError(String format, Object... args)
      Deprecated.
    • msHumanReadable

      public static 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