mirror of
https://github.com/bec-project/ophyd_devices.git
synced 2025-07-10 10:41:53 +02:00
feat: add bec_utils to repo for generic functions
This commit is contained in:
8
ophyd_devices/utils/bec_utils.py
Normal file
8
ophyd_devices/utils/bec_utils.py
Normal file
@ -0,0 +1,8 @@
|
||||
from bec_lib.core import bec_logger
|
||||
|
||||
logger = bec_logger.logger
|
||||
|
||||
|
||||
class MockProducer:
|
||||
def set_and_publish(endpoint: str, msgdump: str):
|
||||
logger.info(f"BECMessage to {endpoint} with msg dump {msgdump}")
|
Reference in New Issue
Block a user