add basic logger