simplifed logger