Better logger design