Packages

p

com.twitter.util

logging

package logging

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. final class Logger extends Serializable

    A scala wrapper over a org.slf4j.Logger.

    A scala wrapper over a org.slf4j.Logger.

    The Logger extends java.io.Serializable to support it's usage through the com.twitter.util.logging.Logging trait when the trait is mixed into a java.io.Serializable class.

    Annotations
    @SerialVersionUID()
  2. trait Logging extends AnyRef

    A scala-friendly Logging trait which:

    A scala-friendly Logging trait which:

    • lazily provides a logger named according to the class in which the trait is mixed
    • convenience methods to proxy calls to the lazily provided logger. These methods are explicitly call-by-name as they are mainly intended for use from Scala.
    class MyClass extends Logging {
      ...
      def foo: String = {
        info("In foo method")
        "Hello, world!"
      }
    }

    For more information, see util-slf4j-api/README.md

Value Members

  1. object Logger extends Serializable

    Companion object for com.twitter.util.logging.Logger which provides factory methods for creation.

Deprecated Value Members

  1. object Loggers

    For Java usability.

    For Java usability.

    Annotations
    @deprecated
    Deprecated

    (Since version 2020-09-30) Use com.twitter.util.logging.Logger

    Note

    Scala users see com.twitter.util.logging.Logger

Ungrouped