On Tue, Jul 30, 2013 at 12:34 PM, Carsten Ziegeler <[email protected]> wrote:
> What about adding a status code to the result, like is done in another hc
> tool from Jörg?
>
> https://github.com/joerghoh/cq5-healthcheck/blob/master/api/src/main/java/de/joerghoh/cq5/healthcheck/StatusCode.java

Yes, we could do that, so instead of anythingToReport() the result
would have getStatus(), returning OK or a value that's the maximal log
level of the mini-log (WARN, ERROR etc.)

-Bertrand

Reply via email to