add basic logging class