added logger util