Changed LogLevel enum to enum class