scanpy.settings.logfile

Contents

scanpy.settings.logfile#

property settings.logfile: TextIO | None[source]#

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.