Close #27: Add parametr to enable logging into a file