You are viewing an older version (9.2.0).Go to latest (9.17.0)
{ } Raw JSON

bundles / IPython 9.2.0 / IPython / core / magics / logging / LoggingMagics / logon

function

IPython.core.magics.logging:LoggingMagics.logon

source: /dev/ipython/IPython/core/magics/logging.py:180

Signature

def logon(self, parameter_s = '')

Summary

Restart logging.

Extended Summary

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.

Aliases

  • IPython.core.magics.LoggingMagics.logon