Consider use of the python logging module instead of print().
see:
Quoting the latter:
The Python logging library lets you:
- Control what’s emitted
- Define what types of information you want to include in your logs
- Configure how it looks when it’s emitted
- Most importantly, set the destination for your logs
See this logging setup for bluesky in the use_bluesky repository. Here are examples of how it is used: logger.info() and logger.warning()
The USAXS describes and shows examples of the log files produced by this logging.
Consider use of the python logging module instead of
print().see:
Quoting the latter:
See this logging setup for bluesky in the use_bluesky repository. Here are examples of how it is used:
logger.info()andlogger.warning()The USAXS describes and shows examples of the log files produced by this logging.