0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 07:54:05 +01:00

modules/console: Add readback to log mask/unmask cmds.

This commit is contained in:
Jason Volk 2019-08-06 21:04:19 -07:00
parent 87ce85e521
commit 0501b52d31

View file

@ -598,6 +598,11 @@ bool
console_cmd__log__mask(opt &out, const string_view &line)
{
log::console_mask(tokens<std::vector>(line, ' '));
out << std::endl;
console_cmd__log(out, {});
out << std::endl;
console_cmd__log__level(out, {});
return true;
}
@ -605,6 +610,11 @@ bool
console_cmd__log__unmask(opt &out, const string_view &line)
{
log::console_unmask(tokens<std::vector>(line, ' '));
out << std::endl;
console_cmd__log(out, {});
out << std::endl;
console_cmd__log__level(out, {});
return true;
}