Important
This documentation covers IPython versions 6.0 and higher. Beginning with version 6.0, IPython stopped supporting compatibility with Python versions lower than 3.3 including all versions of Python 2.7.
If you are looking for an IPython version compatible with Python 2.7, please use the IPython 5.x LTS release and refer to its documentation (LTS is the long term support release).
Module:core.logger
Logger class for IPython’s logging facilities.
1 ClassBases: object
A Logfile class with different policies for file creation
Fully stop logging and close log file.
In order to start logging again, a new logstart() call needs to be made, possibly (though not necessarily) with a new filename, mode and other options.
Write the sources to a log.
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.
Write data to the log file, if active
Generate a new log-file with a default header.
Raises RuntimeError if the log has already been started
Print a status message about the logger.
Fully stop logging and close log file.
In order to start logging again, a new logstart() call needs to be made, possibly (though not necessarily) with a new filename, mode and other options.
Switch logging on/off. val should be ONLY a boolean.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4