Add additional log level function to the Logger class.

- Add Logger::levelPriority() to limit the events that are actually logged.
- Add Logger::logLevel() to set the minimum log level that is captured.
Tweak the spelling/grammar of log messages.