'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.'

@line_magic
def logstop(self, parameter_s=''):

    self.shell.logger.logstop()
