mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Implement a debug Journal
This commit is contained in:
@@ -893,10 +893,10 @@ public:
|
||||
// <-- { method: xyz, params: [... ] } or { error: ..., ... }
|
||||
Json::Value parseCommand (std::string strMethod, Json::Value jvParams, bool allowAnyCommand)
|
||||
{
|
||||
if (ShouldLog (lsTRACE, RPCParser))
|
||||
if (j_.trace)
|
||||
{
|
||||
JLOG (j_.trace) << "RPC method:" << strMethod;
|
||||
JLOG (j_.trace) << "RPC params:" << jvParams;
|
||||
j_.trace << "Method: '" << strMethod << "'";
|
||||
j_.trace << "Params: " << jvParams;
|
||||
}
|
||||
|
||||
struct Command
|
||||
|
||||
Reference in New Issue
Block a user