|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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 |
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 |
logEvent(flex.messaging.log.LogEvent event)
Logs a log event out to the Targets output destination,
which may be the console or a log file. |
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 |
public List getFilters()
Target.
Target.public void setFilters(List value)
Target will process
log events for.
value - The category filters that the Target will process
log events for.public 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.public 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.public 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.public void removeLogger(Logger logger)
Logger from the Target.
logger - The Logger to remove.public void logEvent(flex.messaging.log.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 | ||||||||||