Guest User

Untitled

a guest
Oct 21st, 2019
85
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. trait LoggerActor extends Actor with StrictLogging {
  2. abstract override def receive: Receive = {
  3. case recordableMessage: RecordableMessage =>
  4. logger.info(s"handling message: ${recordableMessage.messageName}")
  5. super.receive(recordableMessage)
  6. logger.info(s"done handling message: ${recordableMessage.messageName}")
  7. case message => super.receive(message)
  8. }
  9. }
RAW Paste Data