scanpy.settings.logfile#
- property settings.logfile: TextIO | None[source]#
The open file to write logs to.
Set it to a
Path
orstr
to open a new one. The defaultNone
corresponds tosys.stdout
in jupyter notebooks and tosys.stderr
otherwise.For backwards compatibility, setting it to
''
behaves like setting it toNone
.