{8.0.0-new, 8.1.2-deprecated} Logging
The Microservice API provides build-in but configurable and overridable support for logging.
The method for configuring logging is as follows:
If not specified, the logging configuration is pulled in from the configuration file:
The logging configuration can also be defined programmatically through the following API:
If you wish to bypass the default logging configuration entirely, you can pass in your own logger via the {@link oaj.microservice.MicroserviceBuilder#logger(Logger)} method.
In addition to configuring the built-in Java logging framework, the following convenience methods are also provided on the {@link oaj.microservice.Microservice} class for logging.