'Restart logging.
This function is for restarting logging which you\'ve temporarily
stopped with %logoff. For starting logging for the first time, you
must use the %logstart function, which allows you to specify an
optional log filename.'

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

    self.shell.logger.switch_log(1)
