o

com.twitter.logging.config

BareFormatterConfig

object BareFormatterConfig extends FormatterConfig

Annotations
@deprecated
Deprecated

(Since version 6.12.1) use BareFormatter directly

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BareFormatterConfig
  2. FormatterConfig
  3. Config
  4. Function0
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. def apply(): BareFormatter.type
    Definition Classes
    BareFormatterConfigFormatterConfig → Function0
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. def computed[A](f: ⇒ A): Required[A]

    The same as specifying required[A] with a default value, but the intent to the use is slightly different.

    The same as specifying required[A] with a default value, but the intent to the use is slightly different.

    Definition Classes
    Config
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. implicit def fromRequired[A](req: Required[A]): A
    Definition Classes
    Config
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. implicit def intoList[A](item: A): List[A]
    Definition Classes
    Config
  15. implicit def intoOption[A](item: A): Option[A]
    Definition Classes
    Config
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. lazy val memoized: Formatter

    a lazy singleton of the configured class.

    a lazy singleton of the configured class. Allows one to pass the Config around to multiple classes without producing multiple configured instances

    Definition Classes
    Config
  18. def missingValues: Seq[String]

    Looks for any fields that are Required but currently Unspecified, in this object and in any child Config objects, and returns the names of those missing values.

    Looks for any fields that are Required but currently Unspecified, in this object and in any child Config objects, and returns the names of those missing values. For missing values in child Config objects, the name is the dot-separated path down to that value.

    Definition Classes
    Config
    Note

    as of Scala 2.12 the returned values are not always correct. See ConfigTest for an example.

  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def optional[A](default: ⇒ A): Required[Option[A]]
    Definition Classes
    Config
  23. def optional[A]: Required[Option[A]]
    Definition Classes
    Config
  24. var prefix: String

    Format for the log-line prefix, if any.

    Format for the log-line prefix, if any.

    There are two positional format strings (printf-style): the name of the level being logged (for example, "ERROR") and the name of the package that's logging (for example, "jobs").

    A string in < angle brackets > will be used to format the log entry's timestamp, using java's SimpleDateFormat.

    For example, a format string of:

    "%.3s [<yyyyMMdd-HH:mm:ss.SSS>] %s: "

    will generate a log line prefix of:

    "ERR [20080315-18:39:05.033] jobs: "

    Definition Classes
    FormatterConfig
  25. def required[A](default: ⇒ A): Required[A]
    Definition Classes
    Config
  26. def required[A]: Required[A]
    Definition Classes
    Config
  27. def specified[A](value: A): Specified[A]

    a non-lazy way to create a Specified that can be called from java

    a non-lazy way to create a Specified that can be called from java

    Definition Classes
    Config
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. var timezone: Option[String]

    Should dates in log messages be reported in a different time zone rather than local time? If set, the time zone name must be one known by the java TimeZone class.

    Should dates in log messages be reported in a different time zone rather than local time? If set, the time zone name must be one known by the java TimeZone class.

    Definition Classes
    FormatterConfig
  30. implicit def toSpecified[A](value: ⇒ A): Specified[A]
    Definition Classes
    Config
  31. implicit def toSpecifiedOption[A](value: ⇒ A): Specified[Some[A]]
    Definition Classes
    Config
  32. def toString(): String
    Definition Classes
    Function0 → AnyRef → Any
  33. var truncateAt: Int

    Truncate log messages after N characters.

    Truncate log messages after N characters. 0 = don't truncate (the default).

    Definition Classes
    FormatterConfig
  34. var truncateStackTracesAt: Int

    Truncate stack traces in exception logging (line count).

    Truncate stack traces in exception logging (line count).

    Definition Classes
    FormatterConfig
  35. var useFullPackageNames: Boolean

    Use full package names like "com.example.thingy" instead of just the toplevel name like "thingy"?

    Use full package names like "com.example.thingy" instead of just the toplevel name like "thingy"?

    Definition Classes
    FormatterConfig
  36. def validate(): Unit

    Definition Classes
    Config
    Exceptions thrown

    RequiredValuesMissing if there are any missing values.

  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from FormatterConfig

Inherited from Config[Formatter]

Inherited from () ⇒ Formatter

Inherited from AnyRef

Inherited from Any

Ungrouped