Breadcrumb
- Sabre Red 360 Software Development Kit Help
- Desktop Red Apps
- Plug-in Services
- Traditional OSGi Services
- Logger Services
- Development Workflow for Logger Services
Development Workflow for Logger Services
-
Add an Activator class to your plug-in.
-
Choose one of the following approaches for giving your plug-in access to ILoggerService. With both approaches, you must modify the Activator class.
-
Inherit from the AbstractEdgeBasePlugin class. Inheriting from this Sabre Red 360 class is the recommended approach.
-
-
In your plug-in, implement the methods that you want to use for logging.
-
Choose pre-defined methods to set the log levels and capture messages.
-
Choose pre-defined methods to capture messages and the exceptions.
-
Instead of using a pre-defined method, define a logging level manually with the log() method.
-
Use log() with the Eclipse IStatus interface to capture the outcome of an operation.
-