shouldLog abstract method

bool shouldLog(
  1. LogEvent event
)

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.

Implementation

bool shouldLog(LogEvent event);