0
0
Fork 0
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:
Jason Volk 2017-03-30 15:49:28 -07:00
parent 13862c6f2a
commit 61e6f0dada

View file

@ -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");
}); });
} }