added the enum for logging levels as well as the unit test