class_docstr: Magics related to all logging machinery.
class_docstr_tok: ["Magics","related","to","all","logging","machinery","."]
docstr: 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.
docstr_tok: ["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","."]
code: def logon(self, parameter_s=""):
      """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.shell.logger.switch_log(1)
  
file_path: catboost/contrib/python/ipython/py2/IPython/core/magics/logging.py
imports: import os
  import sys
  from IPython.core.magic import Magics, magics_class, line_magic
  from warnings import warn
  from IPython.utils.py3compat import str_to_unicode
label_desc: Use image node_id 4 for calling the LoggingMagics obj's underlying member method code with example usage: obj.logon(parameter_s) without return types