genericServiceListener
Creates a Service.Listener for this Service that logs all lifecycle transitions (starting, running, stopping, terminated, failed) using the provided logger.
Return
a configured Service.Listener.
Parameters
logger
the KLogger instance to use for logging lifecycle events.