Skip to content

ph diagnostics

Philip Helger edited this page Apr 8, 2026 · 1 revision

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

Maven usage

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>

Clone this wiki locally