mirror of
https://github.com/matrix-construct/construct
synced 2025-02-18 09:40:12 +01:00
modules/console: Add readback to log mask/unmask cmds.
This commit is contained in:
parent
87ce85e521
commit
0501b52d31
1 changed files with 10 additions and 0 deletions
|
@ -598,6 +598,11 @@ bool
|
||||||
console_cmd__log__mask(opt &out, const string_view &line)
|
console_cmd__log__mask(opt &out, const string_view &line)
|
||||||
{
|
{
|
||||||
log::console_mask(tokens<std::vector>(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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -605,6 +610,11 @@ bool
|
||||||
console_cmd__log__unmask(opt &out, const string_view &line)
|
console_cmd__log__unmask(opt &out, const string_view &line)
|
||||||
{
|
{
|
||||||
log::console_unmask(tokens<std::vector>(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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue