|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.messaging.log.AbstractTarget
flex.messaging.log.LineFormattedTarget
public class LineFormattedTarget
| Constructor Summary | |
|---|---|
LineFormattedTarget()
Default constructor |
|
| Method Summary | |
|---|---|
String |
getPrefix()
Returns prefix property. |
void |
initialize(String id,
ConfigMap properties)
Initializes the target with id and properties. |
boolean |
isIncludeCategory()
Returns includeCategory property. |
boolean |
isIncludeDate()
Returns includeDate property. |
boolean |
isIncludeLevel()
Returns includeLevel property. |
boolean |
isIncludeTime()
Returns includeTime property. |
void |
logEvent(LogEvent event)
This method handles a LogEvent from an associated logger. |
void |
setIncludeCategory(boolean includeCategory)
Sets includeCategory property. |
void |
setIncludeDate(boolean includeDate)
Sets includeDate property. |
void |
setIncludeLevel(boolean includeLevel)
Sets includeLevel property. |
void |
setIncludeTime(boolean includeTime)
Sets includeTime property. |
void |
setPrefix(String prefix)
Sets prefix property. |
| Methods inherited from class flex.messaging.log.AbstractTarget |
|---|
addFilter, addLogger, getFilters, getLevel, removeFilter, removeLogger, setFilters, setLevel |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LineFormattedTarget()
| Method Detail |
|---|
public void initialize(String id,
ConfigMap properties)
initialize in interface Targetinitialize in class AbstractTargetid - id for the target which is ignored.properties - ConfigMap of properties for the target.public boolean isIncludeCategory()
true if category is included; false otherwise.public void setIncludeCategory(boolean includeCategory)
includeCategory - public boolean isIncludeDate()
true if date is included; false otherwise.public void setIncludeDate(boolean includeDate)
includeDate - public boolean isIncludeLevel()
true if level is included; false otherwise.public void setIncludeLevel(boolean includeLevel)
includeLevel - public boolean isIncludeTime()
true if time is included; false otherwise.public void setIncludeTime(boolean includeTime)
includeTime - public String getPrefix()
public void setPrefix(String prefix)
prefix - public void logEvent(LogEvent event)
LogEvent from an associated logger.
A target uses this method to translate the event into the appropriate
format for transmission, storage, or display.
This method will be called only if the event's level is in range of the
target's level.
event - The LogEvent containing the information to output.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/lcdsjavadoc/flex/messaging/log/LineFormattedTarget.html