Expose `emsd` task loglevel through to clients

loglevel_to_testpikerd
Tyler Goodlet 2023-02-21 12:02:01 -05:00
parent b3400f0d9c
commit d0d1554d74
1 changed files with 2 additions and 0 deletions

View File

@ -175,6 +175,7 @@ async def relay_order_cmds_from_sync_code(
async def open_ems(
fqsn: str,
mode: str = 'live',
loglevel: str = 'error',
) -> tuple[
OrderBook,
@ -244,6 +245,7 @@ async def open_ems(
_emsd_main,
fqsn=fqsn,
exec_mode=mode,
loglevel=loglevel,
) as (
ctx,