object Logger extends Serializable
Companion object for com.twitter.util.logging.Logger which provides factory methods for creation.
- Note
Java users, see com.twitter.util.logging.Loggers.getLogger
- Alphabetic
- By Inheritance
- Logger
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(underlying: org.slf4j.Logger): Logger
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.
- underlying
an
org.slf4j.Loggerval logger = Logger(LoggerFactory.getLogger("name"))
-
def
apply[T](implicit arg0: ClassTag[T]): Logger
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.- T
the runtime class type
val logger = Logger[MyClass]
-
def
apply(clazz: Class[_]): Logger
Create a com.twitter.util.logging.Logger named for the given class.
Create a com.twitter.util.logging.Logger named for the given class.
- clazz
class to use for naming the underlying Logger.
val logger = Logger(classOf[MyClass])
-
def
apply(name: String): Logger
Create a com.twitter.util.logging.Logger for the given name.
Create a com.twitter.util.logging.Logger for the given name.
- name
name of the underlying Logger.
val logger = Logger("name")
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )