MCPcopy Create free account
hub / github.com/ipython/ipython / logstop

Method logstop

IPython/core/magics/logging.py:165–171  ·  view source on GitHub ↗

Fully stop logging and close log file. In order to start logging again, a new %logstart call needs to be made, possibly (though not necessarily) with a new filename, mode and other options.

(self, parameter_s='')

Source from the content-addressed store, hash-verified

163
164 @line_magic
165 def logstop(self, parameter_s=''):
166 """Fully stop logging and close log file.
167
168 In order to start logging again, a new %logstart call needs to be made,
169 possibly (though not necessarily) with a new filename, mode and other
170 options."""
171 self.shell.logger.logstop()
172
173 @line_magic
174 def logoff(self, parameter_s=''):

Calls

no outgoing calls