CommandLog¶
- class CommandLog(file, prefix='', suffix='\n', own=False)[source]¶
Bases:
object
Log MAD-X command history to a text file.
Methods Summary
__call__
(command)Log a single history line and flush to file immediately.
close
()create
(filename[, prefix, suffix])Create CommandLog from filename (overwrite/create).
Methods Documentation