genericServiceListener
Creates a Service.Listener for this Service that logs all lifecycle transitions using the provided logger: running and terminated at INFO, the starting and stopping that lead to them at DEBUG, and failed at ERROR with its cause.
Return
a configured Service.Listener.
Parameters
logger
the KLogger instance to use for logging lifecycle events.