Add logging class