*@param handler the handler for this logevent
*@param formatter the formatter for this logevent (can be null)
*@param lr the LogRecord
*/
public void processEvent(LogGenerator lg,LogRecord lr) {
LogEvent le = new LogEvent(lg.getHandler(), lg.getFormatter(), lr);
if ( lg.getFilter() != null ) {
if ( lg.getFilter().match(lr.getMessage() )) {
getEvents().add(le);
}
}