com.twitter.logging

SyslogFormatter

class SyslogFormatter extends Formatter

Linear Supertypes
Formatter, java.util.logging.Formatter, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SyslogFormatter
  2. Formatter
  3. Formatter
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SyslogFormatter(hostname: String = ..., serverName: Option[String] = scala.None, useIsoDateFormat: Boolean = true, priority: Int = SyslogHandler.PRIORITY_USER, timezone: Option[String] = scala.None, truncateAt: Int = 0, truncateStackTracesAt: Int = ...)

    hostname

    Hostname to prepend to log lines.

    serverName

    Optional server name to insert before log entries.

    useIsoDateFormat

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

    priority

    Priority level in syslog numbers.

    timezone

    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.

    truncateAt

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

    truncateStackTracesAt

    Truncate stack traces in exception logging (line count).

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val calendar: GregorianCalendar

    Calendar to use for time zone display in date-time formatting.

    Calendar to use for time zone display in date-time formatting.

    Definition Classes
    Formatter
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def dateFormat: SimpleDateFormat

    Return the date formatter to use for log messages.

    Return the date formatter to use for log messages.

    Definition Classes
    SyslogFormatterFormatter
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def format(record: java.util.logging.LogRecord): String

    Definition Classes
    Formatter → Formatter
  14. def formatLevelName(level: java.util.logging.Level): String

    Return the string representation of a given log level's name

    Return the string representation of a given log level's name

    Definition Classes
    Formatter
  15. def formatMessage(arg0: java.util.logging.LogRecord): String

    Definition Classes
    Formatter
  16. def formatMessageLines(record: java.util.logging.LogRecord): Array[String]

    Definition Classes
    Formatter
  17. def formatName(record: java.util.logging.LogRecord): String

    Returns the formatted name of the node given a LogRecord

    Returns the formatted name of the node given a LogRecord

    Definition Classes
    Formatter
  18. def formatPrefix(level: java.util.logging.Level, date: String, name: String): String

    Return the string to prefix each log message with, given a log level, formatted date string, and package name.

    Return the string to prefix each log message with, given a log level, formatted date string, and package name.

    Definition Classes
    SyslogFormatterFormatter
  19. def formatText(record: java.util.logging.LogRecord): String

    Return formatted text from a java LogRecord.

    Return formatted text from a java LogRecord.

    Definition Classes
    Formatter
  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. def getHead(arg0: java.util.logging.Handler): String

    Definition Classes
    Formatter
  22. def getTail(arg0: java.util.logging.Handler): String

    Definition Classes
    Formatter
  23. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  24. val hostname: String

    Hostname to prepend to log lines.

  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. def lineTerminator: String

    Return the line terminator (if any) to use at the end of each log message.

    Return the line terminator (if any) to use at the end of each log message.

    Definition Classes
    SyslogFormatterFormatter
  27. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  30. val prefix: String

    Definition Classes
    Formatter
  31. val priority: Int

    Priority level in syslog numbers.

  32. val serverName: Option[String]

    Optional server name to insert before log entries.

  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  34. def toString(): String

    Definition Classes
    AnyRef → Any
  35. def truncateText(message: String): String

    Truncates the text from a java LogRecord, if necessary

    Truncates the text from a java LogRecord, if necessary

    Definition Classes
    Formatter
  36. val useFullPackageNames: Boolean

    Definition Classes
    Formatter
  37. val useIsoDateFormat: Boolean

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

  38. final def wait(): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  40. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Formatter

Inherited from java.util.logging.Formatter

Inherited from AnyRef

Inherited from Any

Ungrouped