0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 18:22:50 +01:00

modules/console: Add cmd to mark the log.

This commit is contained in:
Jason Volk 2018-04-20 12:48:25 -07:00
parent 88f5937559
commit 47df72b69b

View file

@ -366,7 +366,6 @@ console_id__user(const m::user::id &id,
// misc // misc
// //
bool bool
console_cmd__debug(opt &out, const string_view &line) console_cmd__debug(opt &out, const string_view &line)
{ {
@ -388,6 +387,18 @@ console_cmd__debug(opt &out, const string_view &line)
} }
} }
bool
console_cmd__mark(opt &out, const string_view &line)
{
log::mark(line);
out << "The log files were marked with '" << line
<< "'"
<< std::endl;
return true;
}
// //
// info // info
// //