feat(module manager API): add stellar_module_manager_get_logger

This commit is contained in:
yangwei
2024-09-29 14:23:26 +08:00
parent 2ea8d96c5c
commit d9d9b4728d
6 changed files with 19 additions and 13 deletions

View File

@@ -214,7 +214,7 @@ struct stellar *stellar_new(const char *stellar_cfg_file, const char *module_cfg
goto error_out;
}
st->mod_mgr = stellar_module_manager_new(module_cfg_file, st->thread_num, st->mq_schema);
st->mod_mgr = stellar_module_manager_new(module_cfg_file, st->thread_num, st->mq_schema, st->logger);
if (st->mod_mgr == NULL)
{
CORE_LOG_ERROR("unable to create module manager");