Minor refactor to DRY up log level definitions.
Allow filtering of notifications by log levels