allow to set custom logger, fixed #81