|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Target
All logger target implementations within the logging framework must
implement this interface. Target implementations receive log events
and output information from these events to the appropriate output
destination which may be a console, log file or some other custom
destination.
| Method Summary | |
|---|---|
void |
addFilter(String value)
Adds the category filteer that the Target will process
log events for. |
void |
addLogger(Logger logger)
Adds a Logger whose category matches the filters list for
the Target. |
List |
getFilters()
Returns the category filters defined for the Target. |
short |
getLevel()
Returns the log level that the Target will process log
events for. |
void |
initialize(String id,
ConfigMap properties)
Initializes the target with id and properties. |
void |
logEvent(LogEvent event)
Logs a log event out to the Targets output destination,
which may be the console or a log file. |
void |
removeFilter(String value)
Removes a category filter from the list of filters the Target will
process log events for. |
void |
removeLogger(Logger logger)
Removes a Logger from the Target. |
void |
setFilters(List value)
Sets the category filters that the Target will process
log events for. |
void |
setLevel(short value)
Sets the log level that the Target will process log events
for. |
| Method Detail |
|---|
void initialize(String id,
ConfigMap properties)
id - id for the target.properties - ConfigMap of properties for the target.List getFilters()
Target.
Target.void setFilters(List value)
Target will process
log events for.
value - The category filters that the Target will process
log events for.void addFilter(String value)
Target will process
log events for.
value - The new category filter to add to the Target's list of filters.void removeFilter(String value)
Target will
process log events for.
value - The category filter to remove from the Target's list of filters.short getLevel()
Target will process log
events for. Log events at this level, or at a higher priority level
will be processed.
Target will process log events for.void setLevel(short value)
Target will process log events
for. Log events at this level, or at a higher priority level will be
processed.
value - The log level that the Target will process log events for.void addLogger(Logger logger)
Logger whose category matches the filters list for
the Target. The Logger will dispatch log events
to this Target to be output.
logger - The Logger to add.void removeLogger(Logger logger)
Logger from the Target.
logger - The Logger to remove.void logEvent(LogEvent event)
Targets output destination,
which may be the console or a log file.
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/Target.html