removed redundant logger dtor; streamwriter closes itself when GC'd