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:
@@ -1435,7 +1435,7 @@ accountSend (ApplyView& view,
|
||||
? view.peek (keylet::account(uReceiverID))
|
||||
: SLE::pointer ();
|
||||
|
||||
if (ShouldLog (lsTRACE, View))
|
||||
if (j.trace)
|
||||
{
|
||||
std::string sender_bal ("-");
|
||||
std::string receiver_bal ("-");
|
||||
@@ -1446,7 +1446,7 @@ accountSend (ApplyView& view,
|
||||
if (receiver)
|
||||
receiver_bal = receiver->getFieldAmount (sfBalance).getFullText ();
|
||||
|
||||
JLOG (j.trace) << "accountSend> " <<
|
||||
j.trace << "accountSend> " <<
|
||||
to_string (uSenderID) << " (" << sender_bal <<
|
||||
") -> " << to_string (uReceiverID) << " (" << receiver_bal <<
|
||||
") : " << saAmount.getFullText ();
|
||||
@@ -1479,7 +1479,7 @@ accountSend (ApplyView& view,
|
||||
view.update (receiver);
|
||||
}
|
||||
|
||||
if (ShouldLog (lsTRACE, View))
|
||||
if (j.trace)
|
||||
{
|
||||
std::string sender_bal ("-");
|
||||
std::string receiver_bal ("-");
|
||||
@@ -1490,7 +1490,7 @@ accountSend (ApplyView& view,
|
||||
if (receiver)
|
||||
receiver_bal = receiver->getFieldAmount (sfBalance).getFullText ();
|
||||
|
||||
JLOG (j.trace) << "accountSend< " <<
|
||||
j.trace << "accountSend< " <<
|
||||
to_string (uSenderID) << " (" << sender_bal <<
|
||||
") -> " << to_string (uReceiverID) << " (" << receiver_bal <<
|
||||
") : " << saAmount.getFullText ();
|
||||
|
||||
Reference in New Issue
Block a user