Using UIMA logging outside of components

UIMA’s logging facility can be used even outside of components:

// Logger with current class as name
UIMAFramework.getLogger().log(Level.INFO, "Processing started");

// Logger with a specific class as name
UIMAFramework.getLogger(Main.class).log(Level.INFO, "Processing started");

Detailed information on logging in UIMA (how to configure,…) can be found in the UIMA tutorial, 1.2.2 Logging.

References

  • [1] UIMA tutorial (2.1.0) – 1.2.2.5 Using the logger outside an annotator

Leave a Reply