mirror of
https://github.com/bec-project/ophyd_devices.git
synced 2025-05-28 07:40:39 +02:00
feat: add bec_utils to repo for generic functions
This commit is contained in:
parent
01c824ecea
commit
86e93afe28
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}")
|
Loading…
x
Reference in New Issue
Block a user