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

bundles / IPython 9.14.0 / IPython / core / logger / Logger / log

function

IPython.core.logger:Logger.log

source: /dev/ipython/IPython/core/logger.py:171

Signature

def log(self, line_mod, line_ori)

Summary

Write the sources to a log.

Extended Summary

Inputs:

  • line_mod: possibly modified input, such as the transformations made by input prefilters or input handlers of various kinds. This should always be valid Python.

  • line_ori: unmodified input line from the user. This is not necessarily valid Python.

Aliases

  • IPython.core.interactiveshell.Logger.log