LogcatAppender.@Deprecated 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
Deprecated.
|
encoder, lockname, startedcontext| Constructor and Description |
|---|
ConsoleAppender()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getTarget()
Deprecated.
Returns the current value of the target property.
|
void |
setTarget(String value)
Deprecated.
Sets the value of the Target option.
|
void |
start()
Deprecated.
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
public void setTarget(String value)
value - desired console-output targetpublic String getTarget()
See also setTarget(java.lang.String).
public void start()
OutputStreamAppenderstart in interface LifeCyclestart in class OutputStreamAppender<E>Copyright © 2005–2014 QOS.ch. All rights reserved.