c

com.twitter.logging.config

SyslogFormatterConfig

class SyslogFormatterConfig extends FormatterConfig

Annotations
@deprecated
Deprecated

(Since version 6.12.1) use SyslogFormatter directly

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

Instance Constructors

  1. new SyslogFormatterConfig()

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(): SyslogFormatter
    Definition Classes
    SyslogFormatterConfigFormatterConfig → 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. var hostname: String

    Hostname to prepend to log lines.

  15. implicit def intoList[A](item: A): List[A]
    Definition Classes
    Config
  16. implicit def intoOption[A](item: A): Option[A]
    Definition Classes
    Config
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. 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
  19. 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.

  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def optional[A](default: ⇒ A): Required[Option[A]]
    Definition Classes
    Config
  24. def optional[A]: Required[Option[A]]
    Definition Classes
    Config
  25. 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
  26. var priority: Int

    Priority level in syslog numbers.

  27. def required[A](default: ⇒ A): Required[A]
    Definition Classes
    Config
  28. def required[A]: Required[A]
    Definition Classes
    Config
  29. var serverName: Option[String]

    Optional server name to insert before log entries.

  30. def serverName_=(name: String): Unit
  31. 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
  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. 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
  34. implicit def toSpecified[A](value: ⇒ A): Specified[A]
    Definition Classes
    Config
  35. implicit def toSpecifiedOption[A](value: ⇒ A): Specified[Some[A]]
    Definition Classes
    Config
  36. def toString(): String
    Definition Classes
    Function0 → AnyRef → Any
  37. var truncateAt: Int

    Truncate log messages after N characters.

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

    Definition Classes
    FormatterConfig
  38. var truncateStackTracesAt: Int

    Truncate stack traces in exception logging (line count).

    Truncate stack traces in exception logging (line count).

    Definition Classes
    FormatterConfig
  39. 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
  40. var useIsoDateFormat: Boolean

    Use new standard ISO-format timestamps instead of old BSD-format?

  41. def validate(): Unit

    Definition Classes
    Config
    Exceptions thrown

    RequiredValuesMissing if there are any missing values.

  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. 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