Is called every time a new log message is sent and decides if it will be printed or canceled.
Returns true if the message should be logged.
true
bool shouldLog(LogEvent event);