public class ConsoleAppender<E> extends OutputStreamAppender<E>
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| Modifier and Type | Field and Description |
|---|---|
protected ConsoleTarget |
target |
protected boolean |
withJansi |
encoder, lockname, startedcontext| Constructor and Description |
|---|
ConsoleAppender() |
| Modifier and Type | Method and Description |
|---|---|
String |
getTarget()
Returns the current value of the target property.
|
boolean |
isWithJansi() |
void |
setTarget(String value)
Sets the value of the Target option.
|
void |
setWithJansi(boolean withJansi)
If true, this appender will output to a stream which
|
void |
start()
Checks that requires parameters are set and if everything is in order,
activates this appender.
|
append, closeOutputStream, getEncoder, getOutputStream, setEncoder, setLayout, setOutputStream, stop, subAppend, writeOutaddFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toStringaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContextprotected ConsoleTarget target
protected boolean withJansi
public void setTarget(String value)
public String getTarget()
setTarget(java.lang.String).public void start()
OutputStreamAppenderstart in interface LifeCyclestart in class OutputStreamAppender<E>public boolean isWithJansi()
public void setWithJansi(boolean withJansi)
withJansi - Copyright © 2005-2014 QOS.ch. All Rights Reserved.