ph diagnostics - phax/ph-commons GitHub Wiki
Library for structured error handling, error levels and in-memory logging.
Highlights:
-
IError/SingleError/SingleErrorBuilder- structured error representation with location, ID, level and linked exception -
ErrorList/IErrorList- typed error collections with filtering -
EErrorLevel- error severity levels (SUCCESS, INFO, WARNING, ERROR, FATAL_ERROR) -
InMemoryLogger/LogMessage- in-memory log message collection -
LogHelper- logging utilities
Add the following to your pom.xml to use this artifact:
<dependency>
<groupId>com.helger.commons</groupId>
<artifactId>ph-diagnostics</artifactId>
<version>x.y.z</version>
</dependency>