class ConsoleAppender extends AbstractAppender

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

This logger is not thread-safe.

Linear Supertypes
AbstractAppender, Appender, AbstractFilterable, Filterable, AbstractLifeCycle, LifeCycle2, LifeCycle, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConsoleAppender
  2. AbstractAppender
  3. Appender
  4. AbstractFilterable
  5. Filterable
  6. AbstractLifeCycle
  7. LifeCycle2
  8. LifeCycle
  9. AnyRef
  10. 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 addFilter(arg0: Filter): Unit
    Definition Classes
    AbstractFilterable → Filterable
  5. def append(event: LogEvent): Unit
    Definition Classes
    ConsoleAppender → Appender
  6. 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.

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. 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.

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def equalsImpl(arg0: Any): Boolean
    Attributes
    protected[org.apache.logging.log4j.core]
    Definition Classes
    AbstractLifeCycle
  13. def error(arg0: String, arg1: Throwable): Unit
    Definition Classes
    AbstractAppender
  14. def error(arg0: String, arg1: LogEvent, arg2: Throwable): Unit
    Definition Classes
    AbstractAppender
  15. def error(arg0: String): Unit
    Definition Classes
    AbstractAppender
  16. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def getFilter(): Filter
    Definition Classes
    AbstractFilterable → Filterable
  19. def getHandler(): ErrorHandler
    Definition Classes
    AbstractAppender → Appender
  20. def getLayout(): Layout[_ <: Serializable]
    Definition Classes
    AbstractAppender → Appender
  21. def getName(): String
    Definition Classes
    AbstractAppender → Appender
  22. def getState(): org.apache.logging.log4j.core.LifeCycle.State
    Definition Classes
    AbstractLifeCycle → LifeCycle
  23. def getTrace: Int

    Returns the number of lines for stacktrace.

  24. def hasFilter(): Boolean
    Definition Classes
    AbstractFilterable → Filterable
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. def hashCodeImpl(): Int
    Attributes
    protected[org.apache.logging.log4j.core]
    Definition Classes
    AbstractLifeCycle
  27. def ignoreExceptions(): Boolean
    Definition Classes
    AbstractAppender → Appender
  28. def initialize(): Unit
    Definition Classes
    AbstractLifeCycle → LifeCycle
  29. def isFiltered(arg0: LogEvent): Boolean
    Definition Classes
    AbstractFilterable → Filterable
  30. def isInitialized(): Boolean
    Definition Classes
    AbstractLifeCycle
  31. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  32. def isStarted(): Boolean
    Definition Classes
    AbstractLifeCycle → LifeCycle
  33. def isStarting(): Boolean
    Definition Classes
    AbstractLifeCycle
  34. def isStopped(): Boolean
    Definition Classes
    AbstractLifeCycle → LifeCycle
  35. def isStopping(): Boolean
    Definition Classes
    AbstractLifeCycle
  36. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. def removeFilter(arg0: Filter): Unit
    Definition Classes
    AbstractFilterable → Filterable
  40. def setHandler(arg0: ErrorHandler): Unit
    Definition Classes
    AbstractAppender → Appender
  41. def setStarted(): Unit
    Attributes
    protected[org.apache.logging.log4j.core]
    Definition Classes
    AbstractLifeCycle
  42. def setStarting(): Unit
    Attributes
    protected[org.apache.logging.log4j.core]
    Definition Classes
    AbstractLifeCycle
  43. def setState(arg0: org.apache.logging.log4j.core.LifeCycle.State): Unit
    Attributes
    protected[org.apache.logging.log4j.core]
    Definition Classes
    AbstractLifeCycle
  44. def setStopped(): Unit
    Attributes
    protected[org.apache.logging.log4j.core]
    Definition Classes
    AbstractLifeCycle
  45. def setStopping(): Unit
    Attributes
    protected[org.apache.logging.log4j.core]
    Definition Classes
    AbstractLifeCycle
  46. def setTrace(level: Int): Unit
  47. def start(): Unit
    Definition Classes
    AbstractFilterable → AbstractLifeCycle → LifeCycle
  48. def stop(arg0: Long, arg1: TimeUnit, arg2: Boolean): Boolean
    Attributes
    protected[org.apache.logging.log4j.core.filter]
    Definition Classes
    AbstractFilterable
  49. def stop(arg0: Long, arg1: TimeUnit): Boolean
    Definition Classes
    AbstractFilterable → AbstractLifeCycle → LifeCycle2
  50. def stop(arg0: Future[_]): Boolean
    Attributes
    protected[org.apache.logging.log4j.core]
    Definition Classes
    AbstractLifeCycle
  51. def stop(): Unit
    Definition Classes
    AbstractLifeCycle → LifeCycle
  52. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  53. def toString(): String
    Definition Classes
    AbstractAppender → AnyRef → Any
  54. 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.

  55. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AbstractAppender

Inherited from Appender

Inherited from AbstractFilterable

Inherited from Filterable

Inherited from AbstractLifeCycle

Inherited from LifeCycle2

Inherited from LifeCycle

Inherited from AnyRef

Inherited from Any

Ungrouped