trait Logging extends AnyRef

A com.twitter.app.App mixin to use for logging. Defines flags to configure the (default) logger setup. When adding logging to a twitter-server, mix in a trait that extends Logging but overrides factories.

Self Type
Logging with App
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Logging
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val appendFlag: Flag[Boolean]
    Attributes
    protected[this]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val asyncFlag: Flag[Boolean]
    Attributes
    protected[this]
  7. val asyncMaxSizeFlag: Flag[Int]
    Attributes
    protected[this]
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. def configureLoggerFactories(): Unit

    Configuration of the Logger Factories removes any other configured loggers.

    Configuration of the Logger Factories removes any other configured loggers. Override if you do not want the default LoggerFactories to be configured. This is generally when you want to ensure that any handlers already installed are not removed or replaced.

    Attributes
    protected
  10. def defaultAppend: Boolean
  11. def defaultFormatter: Formatter
  12. def defaultLogLevel: Level
  13. def defaultOutput: String
  14. def defaultRollPolicy: Policy
  15. def defaultRotateCount: Int
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def handlers: List[() => Handler]

    By default, the root com.twitter.logging.LoggerFactory only has a single com.twitter.logging.Handler which is configured via command line flags.

    By default, the root com.twitter.logging.LoggerFactory only has a single com.twitter.logging.Handler which is configured via command line flags. You can override this method to add additional handlers.

  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. val inferClassNamesFlag: Flag[Boolean]
    Attributes
    protected[this]
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. val levelFlag: Flag[Level]
    Attributes
    protected[this]
  25. lazy val log: Logger
  26. def loggerFactories: List[LoggerFactory]
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. val outputFlag: Flag[String]
    Attributes
    protected[this]
  31. val rollPolicyFlag: Flag[Policy]
    Attributes
    protected[this]
  32. val rotateCountFlag: Flag[Int]
    Attributes
    protected[this]
  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped