mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 00:32:35 +01:00
modules/console: Add cmd to mark the log.
This commit is contained in:
parent
88f5937559
commit
47df72b69b
1 changed files with 12 additions and 1 deletions
|
@ -366,7 +366,6 @@ console_id__user(const m::user::id &id,
|
|||
// misc
|
||||
//
|
||||
|
||||
|
||||
bool
|
||||
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
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue