© Markus Duft 2018
Markus DuftEclipse TEA Revealedhttps://doi.org/10.1007/978-1-4842-4093-9_4

4. Logging

Markus Duft1 
(1)
Peggau, Steiermark, Austria
 

TEA uses a custom logging mechanism called TaskingLog. The mechanism uses OSGi services to plug implementations of logging back ends. Currently, there are two back ends—one for IDE (UI) and one for headless operation. It is important to understand that the goal is not to be integrated or compatible with other logging frameworks; this is intentional. The aim is only to provide a mechanism to write logs to a single destination and place them where they are needed—in a view inside the IDE and on the console during headless execution.

The headless back end simply logs to stdout/stderr. The implementation ...

Get Eclipse TEA Revealed: Building Plug-ins and Creating Extensions for Eclipse now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.