added TxtLogger and Tests