package Ġdv ach movie . architecture . base Ċ Ċ import Ġandroidx . lifecycle . Lifecycle Ċ import Ġandroidx . lifecycle . Lifecycle Observer Ċ import Ġandroidx . lifecycle . Lifecycle Owner Ċ import Ġandroidx . lifecycle . On Lifecycle Event Ċ import Ġdv ach movie . architecture . logging . Logger Ċ Ċ class ĠMy Server Ġ( val Ġlogger : ĠLogger ) Ġ: ĠLifecycle Observer { ĊĠĠĠ Ġ@ On Lifecycle Event ( Lifecycle . Event . ON _ ANY ) ĊĠĠĠ Ġfun Ġon Any ( source : ĠLifecycle Owner , Ġevent : ĠLifecycle . Event Ġ){ ĊĠĠĠĠĠĠĠ Ġlogger . d ( source . java Class . name , Ġ"$ event ") ĊĠĠĠ Ġ} Ċ } Ċ