basic_robotics.utilities.FaserLog module
Logging helpers for writing text and JSON logs to disk.
- class basic_robotics.utilities.FaserLog.FaserLog(name='Misc', dir='Default')[source]
Bases:
objectWrite timestamped status and matrix data to a text log file using the logging module.
- __init__(name='Misc', dir='Default')[source]
Create a new FaserLog and initialize its underlying log file.
The log file name is the given name suffixed with the current timestamp; if a directory is provided it is prepended to the file name.