com.twitter.logging

Logger

object Logger extends Iterable[Logger]

go to: companion
linear super types: Iterable[Logger], IterableLike[Logger, Iterable[Logger]], Equals, Traversable[Logger], GenericTraversableTemplate[Logger, Iterable], TraversableLike[Logger, Iterable[Logger]], TraversableOnce[Logger], FilterMonadic[Logger, Iterable[Logger]], HasNewBuilder[Logger, Iterable[Logger]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Logger
  2. Iterable
  3. IterableLike
  4. Equals
  5. Traversable
  6. GenericTraversableTemplate
  7. TraversableLike
  8. TraversableOnce
  9. FilterMonadic
  10. HasNewBuilder
  11. AnyRef
  12. Any
Visibility
  1. Public
  2. All
Impl.
  1. Concrete
  2. Abstract

Type Members

  1. type Self = Iterable[Logger]

    attributes: protected
    definition classes: TraversableLike

Value Members

  1. def != (arg0: AnyRef) : Boolean

    attributes: final
    definition classes: AnyRef
  2. def != (arg0: Any) : Boolean

    o != arg0 is the same as !(o == (arg0)).

    o != arg0 is the same as !(o == (arg0)).

    arg0

    the object to compare against this object for dis-equality.

    returns

    false if the receiver object is equivalent to the argument; true otherwise.

    attributes: final
    definition classes: Any
  3. def ## () : Int

    attributes: final
    definition classes: AnyRef → Any
  4. def $asInstanceOf [T0] () : T0

    attributes: final
    definition classes: AnyRef
  5. def $isInstanceOf [T0] () : Boolean

    attributes: final
    definition classes: AnyRef
  6. def ++ [B >: A, That] (that: TraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[Logger], B, That]) : That

    definition classes: TraversableLike
  7. def /: [B] (z: B)(op: (B, Logger) ⇒ B) : B

    definition classes: TraversableOnce
  8. def :\ [B] (z: B)(op: (Logger, B) ⇒ B) : B

    definition classes: TraversableOnce
  9. def == (arg0: AnyRef) : Boolean

    o == arg0 is the same as if (o eq null) arg0 eq null else o.equals(arg0).

    o == arg0 is the same as if (o eq null) arg0 eq null else o.equals(arg0).

    arg0

    the object to compare against this object for equality.

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    attributes: final
    definition classes: AnyRef
  10. def == (arg0: Any) : Boolean

    o == arg0 is the same as o.equals(arg0).

    o == arg0 is the same as o.equals(arg0).

    arg0

    the object to compare against this object for equality.

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    attributes: final
    definition classes: Any
  11. def ALL : ALL

    ALL is used to log everything.

    ALL is used to log everything.

  12. def CRITICAL : CRITICAL

    Describes an event which will cause the application to fail to work correctly, but keep attempt to continue.

    Describes an event which will cause the application to fail to work correctly, but keep attempt to continue. The application may be unusable.

  13. def DEBUG : DEBUG

    Describes information useful for general debugging, but probably not normal, day-to-day use.

    Describes information useful for general debugging, but probably not normal, day-to-day use.

  14. def ERROR : ERROR

    Describes a user-visible error that may be transient or not affect other users.

    Describes a user-visible error that may be transient or not affect other users.

  15. def FATAL : FATAL

    Describes an event which will cause the application to exit immediately, in failure.

    Describes an event which will cause the application to exit immediately, in failure.

  16. def INFO : INFO

    Describes information about the normal, functioning state of the application.

    Describes information about the normal, functioning state of the application.

  17. def OFF : OFF

    OFF is used to turn off logging entirely.

    OFF is used to turn off logging entirely.

  18. def TRACE : TRACE

    Describes information useful for intense debugging.

    Describes information useful for intense debugging.

  19. def WARNING : WARNING

    Describes a problem which is probably not user-visible but is notable and/or may be an early indication of a future error.

    Describes a problem which is probably not user-visible but is notable and/or may be an early indication of a future error.

  20. def addString (b: StringBuilder) : StringBuilder

    definition classes: TraversableOnce
  21. def addString (b: StringBuilder, sep: String) : StringBuilder

    definition classes: TraversableOnce
  22. def addString (b: StringBuilder, start: String, sep: String, end: String) : StringBuilder

    definition classes: TraversableOnce
  23. def apply (cls: Class[_]) : Logger

    An alias for get(class)

    An alias for get(class)

  24. def apply () : Logger

    An alias for get()

    An alias for get()

  25. def apply (name: String) : Logger

    An alias for get(name)

    An alias for get(name)

  26. def asInstanceOf [T0] : T0

    This method is used to cast the receiver object to be of type T0.

    This method is used to cast the receiver object to be of type T0.

    Note that the success of a cast at runtime is modulo Scala's erasure semantics. Therefore the expression1.asInstanceOf[String] will throw a ClassCastException at runtime, while the expressionList(1).asInstanceOf[List[String]] will not. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the requested typed.

    returns

    the receiver object.

    attributes: final
    definition classes: Any
  27. def canEqual (that: Any) : Boolean

    definition classes: IterableLike → Equals
  28. def clearHandlers () : Unit

    Remove all existing log handlers from all existing loggers.

    Remove all existing log handlers from all existing loggers.

  29. def clone () : AnyRef

    This method creates and returns a copy of the receiver object.

    This method creates and returns a copy of the receiver object.

    The default implementation of the clone method is platform dependent.

    returns

    a copy of the receiver object.

    attributes: protected
    definition classes: AnyRef
  30. def collect [B, That] (pf: PartialFunction[Logger, B])(implicit bf: CanBuildFrom[Iterable[Logger], B, That]) : That

    definition classes: TraversableLike
  31. def companion : GenericCompanion[Iterable]

    definition classes: Iterable → Traversable → GenericTraversableTemplate
  32. def configure (config: List[LoggerConfig]) : Unit

  33. def copyToArray [B >: A] (xs: Array[B], start: Int, len: Int) : Unit

    definition classes: IterableLike → TraversableLike → TraversableOnce
  34. def copyToArray [B >: A] (xs: Array[B]) : Unit

    definition classes: TraversableOnce
  35. def copyToArray [B >: A] (xs: Array[B], start: Int) : Unit

    definition classes: TraversableOnce
  36. def copyToBuffer [B >: A] (dest: Buffer[B]) : Unit

    definition classes: TraversableOnce
  37. def count (p: (Logger) ⇒ Boolean) : Int

    definition classes: TraversableOnce
  38. def drop (n: Int) : Iterable[Logger]

    definition classes: TraversableLike
  39. def dropRight (n: Int) : Iterable[Logger]

    definition classes: IterableLike
  40. def dropWhile (p: (Logger) ⇒ Boolean) : Iterable[Logger]

    definition classes: TraversableLike
  41. def elements : Iterator[Logger]

    definition classes: IterableLike
      deprecated:
    1. use iterator' instead

  42. def eq (arg0: AnyRef) : Boolean

    This method is used to test whether the argument (arg0) is a reference to the receiver object (this).

    This method is used to test whether the argument (arg0) is a reference to the receiver object (this).

    The eq method implements an [http://en.wikipedia.org/wiki/Equivalence_relation equivalence relation] on non-null instances of AnyRef: * It is reflexive: for any non-null instance x of type AnyRef, x.eq(x) returns true. * It is symmetric: for any non-null instances x and y of type AnyRef, x.eq(y) returns true if and only if y.eq(x) returns true. * It is transitive: for any non-null instances x, y, and z of type AnyRef if x.eq(y) returns true and y.eq(z) returns true, then x.eq(z) returns true.

    Additionally, the eq method has three other properties. * It is consistent: for any non-null instances x and y of type AnyRef, multiple invocations of x.eq(y) consistently returns true or consistently returns false. * For any non-null instance x of type AnyRef, x.eq(null) and null.eq(x) returns false. * null.eq(null) returns true.

    When overriding the equals or hashCode methods, it is important to ensure that their behavior is consistent with reference equality. Therefore, if two objects are references to each other (o1 eq o2), they should be equal to each other (o1 == o2) and they should hash to the same value (o1.hashCode == o2.hashCode).

    arg0

    the object to compare against this object for reference equality.

    returns

    true if the argument is a reference to the receiver object; false otherwise.

    attributes: final
    definition classes: AnyRef
  43. def equals (arg0: Any) : Boolean

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence.

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence.

    The default implementations of this method is an [http://en.wikipedia.org/wiki/Equivalence_relation equivalence relation]: * It is reflexive: for any instance x of type Any, x.equals(x) should return true. * It is symmetric: for any instances x and y of type Any, x.equals(y) should return true if and only if y.equals(x) returns true. * It is transitive: for any instances x, y, and z of type AnyRef if x.equals(y) returns true and y.equals(z) returns true, then x.equals(z) should return true.

    If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is often necessary to override hashCode to ensure that objects that are "equal" (o1.equals(o2) returns true) hash to the same scala.Int (o1.hashCode.equals(o2.hashCode)).

    arg0

    the object to compare against this object for equality.

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    definition classes: AnyRef → Any
  44. def exists (p: (Logger) ⇒ Boolean) : Boolean

    definition classes: IterableLike → TraversableLike → TraversableOnce
  45. def filter (p: (Logger) ⇒ Boolean) : Iterable[Logger]

    definition classes: TraversableLike
  46. def filterNot (p: (Logger) ⇒ Boolean) : Iterable[Logger]

    definition classes: TraversableLike
  47. def finalize () : Unit

    This method is called by the garbage collector on the receiver object when garbage collection determines that there are no more references to the object.

    This method is called by the garbage collector on the receiver object when garbage collection determines that there are no more references to the object.

    The details of when and if the finalize method are invoked, as well as the interaction between finalizeand non-local returns and exceptions, are all platform dependent.

    attributes: protected
    definition classes: AnyRef
  48. def find (p: (Logger) ⇒ Boolean) : Option[Logger]

    definition classes: IterableLike → TraversableLike → TraversableOnce
  49. def first : Logger

    definition classes: IterableLike
      deprecated:
    1. use head' instead

  50. def firstOption : Option[Logger]

    definition classes: IterableLike
      deprecated:
    1. use headOption' instead

  51. def flatMap [B, That] (f: (Logger) ⇒ Traversable[B])(implicit bf: CanBuildFrom[Iterable[Logger], B, That]) : That

    definition classes: TraversableLike → FilterMonadic
  52. def flatten [B] (implicit asTraversable: (Logger) ⇒ Traversable[B]) : Iterable[B]

    definition classes: GenericTraversableTemplate
  53. def foldLeft [B] (z: B)(op: (B, Logger) ⇒ B) : B

    definition classes: TraversableOnce
  54. def foldRight [B] (z: B)(op: (Logger, B) ⇒ B) : B

    definition classes: IterableLike → TraversableOnce
  55. def forall (p: (Logger) ⇒ Boolean) : Boolean

    definition classes: IterableLike → TraversableLike → TraversableOnce
  56. def foreach [U] (f: (Logger) ⇒ U) : Unit

    definition classes: IterableLike → TraversableLike → TraversableOnce → FilterMonadic
  57. def genericBuilder [B] : Builder[B, Iterable[B]]

    definition classes: GenericTraversableTemplate
  58. def get (cls: Class[_]) : Logger

    Return a logger for the package of the class given.

    Return a logger for the package of the class given.

  59. def get () : Logger

    Return a logger for the class name of the class/object that called this method.

    Return a logger for the class name of the class/object that called this method. Normally you would use this in a "private val" declaration on the class/object. The class name is determined by sniffing around on the stack.

  60. def get (name: String) : Logger

    Return a logger for the given package name.

    Return a logger for the given package name. If one doesn't already exist, a new logger will be created and returned.

  61. def getClass () : java.lang.Class[_]

    Returns a representation that corresponds to the dynamic class of the receiver object.

    Returns a representation that corresponds to the dynamic class of the receiver object.

    The nature of the representation is platform dependent.

    returns

    a representation that corresponds to the dynamic class of the receiver object.

    attributes: final
    definition classes: AnyRef
  62. def groupBy [K] (f: (Logger) ⇒ K) : Map[K, Iterable[Logger]]

    definition classes: TraversableLike
  63. def grouped (size: Int) : Iterator[Iterable[Logger]]

    definition classes: IterableLike
  64. def hasDefiniteSize : Boolean

    definition classes: TraversableLike → TraversableOnce
  65. def hashCode () : Int

    Returns a hash code value for the object.

    Returns a hash code value for the object.

    The default hashing algorithm is platform dependent.

    Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)) yet not be equal (o1.equals(o2) returns false). A degenerate implementation could always return 0. However, it is required that if two objects are equal (o1.equals(o2) returns true) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals method.

    returns

    the hash code value for the object.

    definition classes: AnyRef → Any
  66. def head : Logger

    definition classes: IterableLike → TraversableLike
  67. def headOption : Option[Logger]

    definition classes: TraversableLike
  68. def init : Iterable[Logger]

    definition classes: TraversableLike
  69. def isEmpty : Boolean

    definition classes: IterableLike → TraversableLike → TraversableOnce
  70. def isInstanceOf [T0] : Boolean

    This method is used to test whether the dynamic type of the receiver object is T0.

    This method is used to test whether the dynamic type of the receiver object is T0.

    Note that the test result of the test is modulo Scala's erasure semantics. Therefore the expression1.isInstanceOf[String] will return false, while the expression List(1).isInstanceOf[List[String]] will return true. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the requested typed.

    returns

    true if the receiver object is an instance of erasure of type T0; false otherwise.

    attributes: final
    definition classes: Any
  71. def isTraversableAgain : Boolean

    attributes: final
    definition classes: TraversableLike → TraversableOnce
  72. def iterator : Iterator[Logger]

    Iterate the Logger objects that have been created.

    Iterate the Logger objects that have been created.

    definition classes: Logger → IterableLike
  73. def last : Logger

    definition classes: TraversableLike
  74. def lastOption : Option[Logger]

    definition classes: TraversableLike
  75. def levelNames : Map[String, Level]

    Return a map of log level names to the corresponding Level objects.

    Return a map of log level names to the corresponding Level objects.

  76. def levels : Map[Int, Level]

    Return a map of log level values to the corresponding Level objects.

    Return a map of log level values to the corresponding Level objects.

  77. def map [B, That] (f: (Logger) ⇒ B)(implicit bf: CanBuildFrom[Iterable[Logger], B, That]) : That

    definition classes: TraversableLike → FilterMonadic
  78. def max [B >: A] (implicit cmp: Ordering[B]) : Logger

    definition classes: TraversableOnce
  79. def min [B >: A] (implicit cmp: Ordering[B]) : Logger

    definition classes: TraversableOnce
  80. def mkString : String

    definition classes: TraversableOnce
  81. def mkString (sep: String) : String

    definition classes: TraversableOnce
  82. def mkString (start: String, sep: String, end: String) : String

    definition classes: TraversableOnce
  83. def ne (arg0: AnyRef) : Boolean

    o.ne(arg0) is the same as !(o.eq(arg0)).

    o.ne(arg0) is the same as !(o.eq(arg0)).

    arg0

    the object to compare against this object for reference dis-equality.

    returns

    false if the argument is not a reference to the receiver object; true otherwise.

    attributes: final
    definition classes: AnyRef
  84. def newBuilder : Builder[Logger, Iterable[Logger]]

    attributes: protected[this]
    definition classes: GenericTraversableTemplate → HasNewBuilder
  85. def nonEmpty : Boolean

    definition classes: TraversableOnce
  86. def notify () : Unit

    Wakes up a single thread that is waiting on the receiver object's monitor.

    Wakes up a single thread that is waiting on the receiver object's monitor.

    attributes: final
    definition classes: AnyRef
  87. def notifyAll () : Unit

    Wakes up all threads that are waiting on the receiver object's monitor.

    Wakes up all threads that are waiting on the receiver object's monitor.

    attributes: final
    definition classes: AnyRef
  88. def partition (p: (Logger) ⇒ Boolean) : (Iterable[Logger], Iterable[Logger])

    definition classes: TraversableLike
  89. def product [B >: A] (implicit num: Numeric[B]) : B

    definition classes: TraversableOnce
  90. def projection : IterableView[Logger, Iterable[Logger]]

    definition classes: IterableLike
      deprecated:
    1. use view' instead

  91. def reduceLeft [B >: A] (op: (B, Logger) ⇒ B) : B

    definition classes: TraversableOnce
  92. def reduceLeftOption [B >: A] (op: (B, Logger) ⇒ B) : Option[B]

    definition classes: TraversableOnce
  93. def reduceRight [B >: A] (op: (Logger, B) ⇒ B) : B

    definition classes: IterableLike → TraversableOnce
  94. def reduceRightOption [B >: A] (op: (Logger, B) ⇒ B) : Option[B]

    definition classes: TraversableOnce
  95. def repr : Iterable[Logger]

    definition classes: TraversableLike
  96. def reset () : Unit

    Reset logging to an initial state, where all logging is set at INFO level and goes to the console (stderr).

    Reset logging to an initial state, where all logging is set at INFO level and goes to the console (stderr). Any existing log handlers are removed.

  97. def reversed : List[Logger]

    attributes: protected[this]
    definition classes: TraversableOnce
  98. def sameElements [B >: A] (that: Iterable[B]) : Boolean

    definition classes: IterableLike
  99. def scanLeft [B, That] (z: B)(op: (B, Logger) ⇒ B)(implicit bf: CanBuildFrom[Iterable[Logger], B, That]) : That

    definition classes: TraversableLike
  100. def scanRight [B, That] (z: B)(op: (Logger, B) ⇒ B)(implicit bf: CanBuildFrom[Iterable[Logger], B, That]) : That

    definition classes: TraversableLike
  101. def size : Int

    definition classes: TraversableOnce
  102. def slice (from: Int, until: Int) : Iterable[Logger]

    definition classes: IterableLike → TraversableLike
  103. def sliding [B >: A] (size: Int, step: Int) : Iterator[Iterable[Logger]]

    definition classes: IterableLike
  104. def sliding [B >: A] (size: Int) : Iterator[Iterable[Logger]]

    definition classes: IterableLike
  105. def span (p: (Logger) ⇒ Boolean) : (Iterable[Logger], Iterable[Logger])

    definition classes: TraversableLike
  106. def splitAt (n: Int) : (Iterable[Logger], Iterable[Logger])

    definition classes: TraversableLike
  107. def stringPrefix : String

    definition classes: TraversableLike
  108. def sum [B >: A] (implicit num: Numeric[B]) : B

    definition classes: TraversableOnce
  109. def synchronized [T0] (arg0: T0) : T0

    attributes: final
    definition classes: AnyRef
  110. def tail : Iterable[Logger]

    definition classes: TraversableLike
  111. def take (n: Int) : Iterable[Logger]

    definition classes: IterableLike → TraversableLike
  112. def takeRight (n: Int) : Iterable[Logger]

    definition classes: IterableLike
  113. def takeWhile (p: (Logger) ⇒ Boolean) : Iterable[Logger]

    definition classes: IterableLike → TraversableLike
  114. def thisCollection : Iterable[Logger]

    attributes: protected[this]
    definition classes: IterableLike → TraversableLike
  115. def toArray [B >: A] (implicit arg0: ClassManifest[B]) : Array[B]

    definition classes: TraversableOnce
  116. def toBuffer [B >: A] : Buffer[B]

    definition classes: TraversableOnce
  117. def toCollection (repr: Iterable[Logger]) : Iterable[Logger]

    attributes: protected[this]
    definition classes: IterableLike → TraversableLike
  118. def toIndexedSeq [B >: A] : IndexedSeq[B]

    definition classes: TraversableOnce
  119. def toIterable : Iterable[Logger]

    definition classes: IterableLike → TraversableOnce
  120. def toIterator : Iterator[Logger]

    definition classes: TraversableLike → TraversableOnce
  121. def toList : List[Logger]

    definition classes: TraversableOnce
  122. def toMap [T, U] (implicit ev: <:<[Logger, (T, U)]) : Map[T, U]

    definition classes: TraversableOnce
  123. def toSeq : Seq[Logger]

    definition classes: IterableLike → TraversableOnce
  124. def toSet [B >: A] : Set[B]

    definition classes: TraversableOnce
  125. def toStream : Stream[Logger]

    definition classes: IterableLike → TraversableLike → TraversableOnce
  126. def toString () : String

    Returns a string representation of the object.

    Returns a string representation of the object.

    The default representation is platform dependent.

    returns

    a string representation of the object.

    definition classes: TraversableLike → AnyRef → Any
  127. def toTraversable : Traversable[Logger]

    definition classes: TraversableLike → TraversableOnce
  128. def transpose [B] (implicit asTraversable: (Logger) ⇒ Traversable[B]) : Iterable[Iterable[B]]

    definition classes: GenericTraversableTemplate
  129. def unzip [A1, A2] (implicit asPair: (Logger) ⇒ (A1, A2)) : (Iterable[A1], Iterable[A2])

    definition classes: GenericTraversableTemplate
  130. def view (from: Int, until: Int) : IterableView[Logger, Iterable[Logger]]

    definition classes: IterableLike → TraversableLike
  131. def view : IterableView[Logger, Iterable[Logger]]

    definition classes: IterableLike → TraversableLike
  132. def wait () : Unit

    attributes: final
    definition classes: AnyRef
  133. def wait (arg0: Long, arg1: Int) : Unit

    attributes: final
    definition classes: AnyRef
  134. def wait (arg0: Long) : Unit

    attributes: final
    definition classes: AnyRef
  135. def withFilter (p: (Logger) ⇒ Boolean) : FilterMonadic[Logger, Iterable[Logger]]

    definition classes: TraversableLike → FilterMonadic
  136. def zip [A1 >: A, B, That] (that: Iterable[B])(implicit bf: CanBuildFrom[Iterable[Logger], (A1, B), That]) : That

    definition classes: IterableLike
  137. def zipAll [B, A1 >: A, That] (that: Iterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Iterable[Logger], (A1, B), That]) : That

    definition classes: IterableLike
  138. def zipWithIndex [A1 >: A, That] (implicit bf: CanBuildFrom[Iterable[Logger], (A1, Int), That]) : That

    definition classes: IterableLike

Inherited from Iterable[Logger]

Inherited from IterableLike[Logger, Iterable[Logger]]

Inherited from Equals

Inherited from Traversable[Logger]

Inherited from GenericTraversableTemplate[Logger, Iterable]

Inherited from TraversableLike[Logger, Iterable[Logger]]

Inherited from TraversableOnce[Logger]

Inherited from FilterMonadic[Logger, Iterable[Logger]]

Inherited from HasNewBuilder[Logger, Iterable[Logger]]

Inherited from AnyRef

Inherited from Any