Gets the maximum log level. Messages with higher log level are filtered out.
Return the maximum log level.