Added new version of logger