Adds function wouldLog() to check whether a log-event would be logged.
Adds NullAppender class for performance tests.