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.
- Alphabetic
- By Inheritance
- Logging
- 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
-
val
appendFlag: Flag[Boolean]
- Attributes
- protected[this]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
asyncFlag: Flag[Boolean]
- Attributes
- protected[this]
-
val
asyncMaxSizeFlag: Flag[Int]
- Attributes
- protected[this]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
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
- def defaultAppend: Boolean
- def defaultFormatter: Formatter
- def defaultLogLevel: Level
- def defaultOutput: String
- def defaultRollPolicy: Policy
- def defaultRotateCount: Int
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
val
inferClassNamesFlag: Flag[Boolean]
- Attributes
- protected[this]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
levelFlag: Flag[Level]
- Attributes
- protected[this]
- lazy val log: Logger
- def loggerFactories: List[LoggerFactory]
-
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()
-
val
outputFlag: Flag[String]
- Attributes
- protected[this]
-
val
rollPolicyFlag: Flag[Policy]
- Attributes
- protected[this]
-
val
rotateCountFlag: Flag[Int]
- Attributes
- protected[this]
-
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
- @throws( ... ) @native()