property ScanpyConfig.logfile

The open file to write logs to.

Set it to a Path or str to open a new one. The default None corresponds to sys.stdout in jupyter notebooks and to sys.stderr otherwise.

For backwards compatibility, setting it to '' behaves like setting it to None.

Return type