I have the following code:

object Log {

  def get[T](implicit manifest : Manifest[T] ) = {
    LoggerFactory.getLogger( manifest.erasure.getName )
  }

  def getByName( name : String ) = {
    LoggerFactory.getLogger(name)
  }

}

The idea is to use it like this:

object SimpleFuture {
  val log = Log.get[SimpleFuture[Throwable,Nothing]]
}

But the compiler (2.10) now says that manifest.erasure is deprecated. What should I use now for this same functionality?

Edit
Report