Object

com.twitter.logging

BareFormatter

Related Doc: package logging

Permalink

object BareFormatter extends Formatter

Formatter that logs only the text of a log message, with no prefix (no date, etc).

Linear Supertypes
Formatter, java.util.logging.Formatter, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BareFormatter
  2. Formatter
  3. Formatter
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val calendar: GregorianCalendar

    Permalink

    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
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def dateFormat: DateFormat

    Permalink

    Return the date formatter to use for log messages.

    Return the date formatter to use for log messages.

    Definition Classes
    Formatter
  8. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink

    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
  13. def formatMessage(arg0: java.util.logging.LogRecord): String

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

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

    Permalink

    Returns the formatted name of the node given a LogRecord

    Returns the formatted name of the node given a LogRecord

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

    Permalink

    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
    Formatter
  17. def formatText(record: java.util.logging.LogRecord): String

    Permalink

    Return formatted text from a java LogRecord.

    Return formatted text from a java LogRecord.

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

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

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

    Permalink
    Definition Classes
    Formatter
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. def lineTerminator: String

    Permalink

    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
    Formatter
  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. val prefix: String

    Permalink

    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
    Formatter
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. val timezone: Option[String]

    Permalink

    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
    Formatter
  30. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  31. val truncateAt: Int

    Permalink

    Truncate log messages after N characters.

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

    Definition Classes
    Formatter
  32. val truncateStackTracesAt: Int

    Permalink

    Truncate stack traces in exception logging (line count).

    Truncate stack traces in exception logging (line count).

    Definition Classes
    Formatter
  33. def truncateText(message: String): String

    Permalink

    Truncates the text from a java LogRecord, if necessary

    Truncates the text from a java LogRecord, if necessary

    Definition Classes
    Formatter
  34. val useFullPackageNames: Boolean

    Permalink

    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
    Formatter
  35. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Formatter

Inherited from java.util.logging.Formatter

Inherited from AnyRef

Inherited from Any

Ungrouped