Note
This documentation is for a development version of IPython. There may be significant differences from the latest stable release (1.2.1).
Logger class for IPython’s logging facilities.
Bases: 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:
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.