Refactored logging levels into a list