BZ-99999 Fix LogFilter by adding an 'emit' function.