Create a com.twitter.util.logging.Logger wrapping the given underlying org.slf4j.Logger.
Create a com.twitter.util.logging.Logger wrapping the given underlying org.slf4j.Logger.
an org.slf4j.Logger
val logger = Logger(LoggerFactory.getLogger("name"))
Create a com.twitter.util.logging.Logger for the runtime class wrapped
by the implicit scala.reflect.ClassTag denoting the runtime class T
.
Create a com.twitter.util.logging.Logger for the runtime class wrapped
by the implicit scala.reflect.ClassTag denoting the runtime class T
.
the runtime class type
val logger = Logger[MyClass]
Create a com.twitter.util.logging.Logger named for the given class.
Create a com.twitter.util.logging.Logger named for the given class.
class to use for naming the underlying Logger.
val logger = Logger(classOf[MyClass])
Create a com.twitter.util.logging.Logger for the given name.
Create a com.twitter.util.logging.Logger for the given name.
name of the underlying Logger.
val logger = Logger("name")
Companion object for com.twitter.util.logging.Logger which provides factory methods for creation.
Java users, see com.twitter.util.logging.Loggers.getLogger