20#include <xrpld/app/main/Application.h> 
   21#include <xrpld/rpc/Context.h> 
   23#include <xrpl/basics/Log.h> 
   24#include <xrpl/json/json_value.h> 
   25#include <xrpl/protocol/ErrorCodes.h> 
   26#include <xrpl/protocol/RPCErr.h> 
   27#include <xrpl/protocol/jss.h> 
   29#include <boost/algorithm/string/predicate.hpp> 
   47        for (
auto const& [k, v] : logTable)
 
   50        ret[jss::levels] = lev;
 
   75        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 &)