mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
ircd::log: Increase the logger name width.
This commit is contained in:
parent
ce8824a1bd
commit
db8c91661e
2 changed files with 3 additions and 3 deletions
|
@ -448,9 +448,9 @@ noexcept
|
|||
<< reflect(lev)
|
||||
<< (string_view{conf.console_ansi}? "\033[0m " : " ")
|
||||
// << (log.snote? log.snote : '-')
|
||||
<< std::setw(9)
|
||||
<< std::setw(8)
|
||||
<< std::right
|
||||
<< log.name
|
||||
<< trunc(log.name, 8)
|
||||
<< ' '
|
||||
<< std::setw(8)
|
||||
<< trunc(ctx::name(), 8)
|
||||
|
|
|
@ -480,7 +480,7 @@ console_cmd__log(opt &out, const string_view &line)
|
|||
{
|
||||
for(const auto *const &log : log::log::list)
|
||||
out << (log->snote? log->snote : '-')
|
||||
<< " " << std::setw(8) << std::left << log->name
|
||||
<< " " << std::setw(16) << std::left << log->name
|
||||
<< " "
|
||||
<< (log->fmasked? " FILE" : "")
|
||||
<< (log->cmasked? " CONSOLE" : "")
|
||||
|
|
Loading…
Reference in a new issue