SHARE
TWEET

Untitled

a guest Oct 21st, 2019 78 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top