WIN32: added logger