Resolves #49, Add log level validator.