0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-10 20:11:07 +01:00

modules/vm: Minor cleanup.

This commit is contained in:
Jason Volk 2018-08-16 00:46:46 -07:00
parent 4199d5026c
commit 14bbe13c45

View file

@ -440,9 +440,12 @@ try
}; };
if(eval.copts->debuglog_precommit) if(eval.copts->debuglog_precommit)
log.debug("injecting event(mark +%ld) %s", log::debug
{
log, "injecting event(mark +%ld) %s",
vm::current_sequence, vm::current_sequence,
pretty_oneline(event)); pretty_oneline(event)
};
check_size(event); check_size(event);
commit_hook(event); commit_hook(event);
@ -484,10 +487,16 @@ try
vm::accept(accepted); vm::accept(accepted);
if(opts.debuglog_accept) if(opts.debuglog_accept)
log.debug("%s", pretty_oneline(event)); log::debug
{
log, "%s", pretty_oneline(event)
};
if(opts.infolog_accept) if(opts.infolog_accept)
log.info("%s", pretty_oneline(event)); log::debug
{
log, "%s", pretty_oneline(event)
};
return ret; return ret;
} }