Corrected logging class