Fixed logging class