mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 19:45:53 +00:00
Improve performance
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
This commit is contained in:
@@ -56,9 +56,7 @@ Logs::Sink::write(beast::severities::Severity level, std::string&& text)
|
||||
}
|
||||
|
||||
void
|
||||
Logs::Sink::writeAlways(
|
||||
beast::severities::Severity level,
|
||||
std::string&& text)
|
||||
Logs::Sink::writeAlways(beast::severities::Severity level, std::string&& text)
|
||||
{
|
||||
logs_.write(level, partition_, std::move(text), console());
|
||||
}
|
||||
@@ -162,14 +160,6 @@ Logs::operator[](std::string const& name)
|
||||
return get(name);
|
||||
}
|
||||
|
||||
beast::Journal
|
||||
Logs::journal(
|
||||
std::string const& name,
|
||||
std::optional<beast::Journal::JsonLogAttributes> attributes)
|
||||
{
|
||||
return beast::Journal{get(name), name, std::move(attributes)};
|
||||
}
|
||||
|
||||
beast::severities::Severity
|
||||
Logs::threshold() const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user