def uninitialisedReceive: Receive = {
      var messagesToLog = Vector.empty[LogEvent]

       def setLogService....

       {
         case logService: LogService ⇒ setLogService(logService)
         case logEvent: LogEvent     ⇒ messagesToLog :+= logEvent
       }
    }