@property
def logfile(self) -> TextIO:
    "        The open file to write logs to.\n\n        Set it to a :class:`~pathlib.Path` or :class:`str` to open a new one.\n        The default `None` corresponds to :obj:`sys.stdout` in jupyter notebooks\n        and to :obj:`sys.stderr` otherwise.\n\n        For backwards compatibility, setting it to `''` behaves like setting it to `None`.\n        "
    return self._logfile
The open file to write logs to.

Set it to a :class:`~pathlib.Path` or :class:`str` to open a new one.
The default `None` corresponds to :obj:`sys.stdout` in jupyter notebooks
and to :obj:`sys.stderr` otherwise.

For backwards compatibility, setting it to `''` behaves like setting it to `None`.
@property
def logfile(self) -> TextIO:
    "        The open file to write logs to.\n\n        Set it to a :class:`~pathlib.Path` or :class:`str` to open a new one.\n        The default `None` corresponds to :obj:`sys.stdout` in jupyter notebooks\n        and to :obj:`sys.stderr` otherwise.\n\n        For backwards compatibility, setting it to `` behaves like setting it to `None`.\n        "
    return self._logfile