mirror of
https://github.com/matrix-construct/construct
synced 2024-12-30 17:34:04 +01:00
ircd::log: Improve the log mark message.
This commit is contained in:
parent
13862c6f2a
commit
61e6f0dada
1 changed files with 3 additions and 1 deletions
|
@ -234,7 +234,9 @@ log::mark(const facility &fac,
|
||||||
slog(fac, [&msg]
|
slog(fac, [&msg]
|
||||||
(std::ostream &s)
|
(std::ostream &s)
|
||||||
{
|
{
|
||||||
s << "*** " << (msg? msg : "mark") << " ***";
|
static const auto name{'*'};
|
||||||
|
s << std::left << std::setw(9) << name << std::right << " :";
|
||||||
|
s << (msg? msg : "mark");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue