def log()

in app/lib/RepoSnapshot.scala [58:67]


    def log(message: String)(implicit repo: Repo): Unit = logger.info(s"${repo.full_name} - $message")
    def logAround[T](desc: String)(thunk: => Future[T])(implicit repo: Repo): Future[T] = {
      val start = System.currentTimeMillis()
      val fut = thunk // evaluate thunk, evaluate only once!
      fut.onComplete { attempt =>
        val elapsedMs = System.currentTimeMillis() - start
        log(s"'$desc' $elapsedMs ms : success=${attempt.isSuccess}")
      }
      fut
    }