|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.UnsynchronizedAppenderBase<E>
ch.qos.logback.core.OutputStreamAppender<E>
ch.qos.logback.core.ConsoleAppender<E>
public class ConsoleAppender<E>
ConsoleAppender appends log events to System.out
or
System.err
using a layout specified by the user. The default
target is System.out
.
For more information about this appender, please refer to the online manual
at http://logback.qos.ch/manual/appenders.html#ConsoleAppender
Field Summary | |
---|---|
protected ConsoleTarget |
target
|
Fields inherited from class ch.qos.logback.core.OutputStreamAppender |
---|
encoder, lock |
Fields inherited from class ch.qos.logback.core.UnsynchronizedAppenderBase |
---|
name, started |
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase |
---|
context |
Constructor Summary | |
---|---|
ConsoleAppender()
|
Method Summary | |
---|---|
java.lang.String |
getTarget()
Returns the current value of the target property. |
void |
setTarget(java.lang.String value)
Sets the value of the Target option. |
void |
start()
Checks that requires parameters are set and if everything is in order, activates this appender. |
Methods inherited from class ch.qos.logback.core.OutputStreamAppender |
---|
append, closeOutputStream, getEncoder, getOutputStream, setEncoder, setLayout, setOutputStream, stop, subAppend, writeOut |
Methods inherited from class ch.qos.logback.core.UnsynchronizedAppenderBase |
---|
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toString |
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase |
---|
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface ch.qos.logback.core.spi.ContextAware |
---|
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext |
Field Detail |
---|
protected ConsoleTarget target
Constructor Detail |
---|
public ConsoleAppender()
Method Detail |
---|
public void setTarget(java.lang.String value)
public java.lang.String getTarget()
setTarget(java.lang.String)
.
public void start()
OutputStreamAppender
start
in interface LifeCycle
start
in class OutputStreamAppender<E>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |