changed the LogLevels to enums