improve SetLogger docstring