1#include <xrpld/app/main/Application.h>
2#include <xrpld/rpc/Context.h>
4#include <xrpl/basics/Log.h>
5#include <xrpl/json/json_value.h>
6#include <xrpl/protocol/ErrorCodes.h>
7#include <xrpl/protocol/RPCErr.h>
8#include <xrpl/protocol/jss.h>
10#include <boost/algorithm/string/predicate.hpp>
28 for (
auto const& [k, v] : logTable)
31 ret[jss::levels] = lev;
56 if (boost::iequals(partition,
"base"))
std::string asString() const
Returns the unquoted string value.
bool isMember(char const *key) const
Return true if the object has a member named key.
virtual Severity threshold() const
Returns the minimum severity level this sink will report.
beast::Journal::Sink & get(std::string const &name)
static LogSeverity fromString(std::string const &s)
beast::severities::Severity threshold() const
static std::string toString(LogSeverity s)
static beast::severities::Severity toSeverity(LogSeverity level)
std::vector< std::pair< std::string, std::string > > partition_severities() const
static LogSeverity fromSeverity(beast::severities::Severity level)
@ objectValue
object value (collection of name/value pairs).
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Json::Value rpcError(int iError)
Json::Value doLogLevel(RPC::JsonContext &)