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, lock
name, started
context
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, writeOut
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, toString
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
protected ConsoleTarget target
public void setTarget(String value)
value
- desired console-output targetpublic String getTarget()
See also setTarget(java.lang.String)
.
public void start()
OutputStreamAppender
start
in interface LifeCycle
start
in class OutputStreamAppender<E>
Copyright © 2005–2014 QOS.ch. All rights reserved.