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.
(self, parameter_s='')
| 179 | |
| 180 | @line_magic |
| 181 | def logon(self, parameter_s=''): |
| 182 | """Restart logging. |
| 183 | |
| 184 | This function is for restarting logging which you've temporarily |
| 185 | stopped with %logoff. For starting logging for the first time, you |
| 186 | must use the %logstart function, which allows you to specify an |
| 187 | optional log filename.""" |
| 188 | |
| 189 | self.shell.logger.switch_log(1) |
| 190 | |
| 191 | @line_magic |
| 192 | def logstate(self, parameter_s=''): |
nothing calls this directly
no test coverage detected