Created logging class.