class ConsoleAppender extends Appender

A logger that logs to the console. On supported systems, the level labels are colored.

This logger is not thread-safe.

Linear Supertypes
Appender, AutoCloseable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConsoleAppender
  2. Appender
  3. AutoCloseable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ConsoleAppender(name: String, properties: Properties, suppressedMessage: (SuppressedTraceContext) ⇒ Option[String])

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 appendLog(level: util.Level.Value, message: ⇒ String): Unit

    Appends the message message to the to the log at level level.

    Appends the message message to the to the log at level level.

    level

    The importance level of the message.

    message

    The message to log.

    Definition Classes
    Appender
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def close(): Unit
    Definition Classes
    ConsoleAppender → AutoCloseable
  8. def control(event: util.ControlEvent.Value, message: ⇒ String): Unit

    Logs a ControlEvent to the log.

    Logs a ControlEvent to the log.

    event

    The kind of ControlEvent.

    message

    The message to log.

    Definition Classes
    Appender
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getTrace: Int

    Returns the number of lines for stacktrace.

    Returns the number of lines for stacktrace.

    Definition Classes
    Appender
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def setTrace(level: Int): Unit
    Definition Classes
    Appender
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. def trace(t: ⇒ Throwable, traceLevel: Int): Unit

    Logs the stack trace of t, possibly shortening it.

    Logs the stack trace of t, possibly shortening it.

    The traceLevel parameter configures how the stack trace will be shortened. See StackTrace.trimmed.

    t

    The Throwable whose stack trace to log.

    traceLevel

    How to shorten the stack trace.

    Definition Classes
    Appender
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Appender

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped