6.3.7. Logging commands¶
- class pyspex.log.Log[source]¶
Class to save and execute commands and output from the terminal.
- Variables:
- close(logtype)[source]¶
Close the save or output file.
- Parameters:
logtype (str) – String indicating the type of log to close (‘save’ or ‘out’).
- output(outfile, status=None)[source]¶
Save the terminal output to ascii file. The status is optional and either overwrite or append.