mirror of
https://github.com/XRPLF/rippled.git
synced 2026-02-01 04:25:30 +00:00
181 lines
25 KiB
HTML
181 lines
25 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.9.8"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>rippled: LogLevel.cpp Source File</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">rippled
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.8 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(document).ready(function() { init_codefold(0); });
|
|
/* @license-end */
|
|
</script>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_a62226f9e3a6c7c5a3be455e2f87ae01.html">xrpld</a></li><li class="navelem"><a class="el" href="dir_42b876eb66f74e25995e23a7c0222dc7.html">rpc</a></li><li class="navelem"><a class="el" href="dir_202f05fcc82d395fac3f43e301f5a49f.html">handlers</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle"><div class="title">LogLevel.cpp</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#include <xrpld/app/main/Application.h></span></div>
|
|
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#include <xrpld/rpc/Context.h></span></div>
|
|
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span> </div>
|
|
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include <xrpl/basics/Log.h></span></div>
|
|
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include <xrpl/json/json_value.h></span></div>
|
|
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include <xrpl/protocol/ErrorCodes.h></span></div>
|
|
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#include <xrpl/protocol/RPCErr.h></span></div>
|
|
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include <xrpl/protocol/jss.h></span></div>
|
|
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span> </div>
|
|
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="preprocessor">#include <boost/algorithm/string/predicate.hpp></span></div>
|
|
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span> </div>
|
|
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacexrpl.html">xrpl</a> {</div>
|
|
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span> </div>
|
|
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a></div>
|
|
<div class="foldopen" id="foldopen00015" data-start="{" data-end="}">
|
|
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"><a class="line" href="namespacexrpl.html#a53697f1499d5a817259c6adb76aaccad"> 15</a></span><a class="code hl_function" href="namespacexrpl.html#a53697f1499d5a817259c6adb76aaccad">doLogLevel</a>(<a class="code hl_struct" href="structxrpl_1_1RPC_1_1JsonContext.html">RPC::JsonContext</a>& context)</div>
|
|
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span>{</div>
|
|
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> <span class="comment">// log_level</span></div>
|
|
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> <span class="keywordflow">if</span> (!context.<a class="code hl_variable" href="structxrpl_1_1RPC_1_1JsonContext.html#a30603f408d454be67d5250a62bf39287">params</a>.<a class="code hl_function" href="classJson_1_1Value.html#abfa90c81f6aee7877bd5fb4c8445994f">isMember</a>(jss::severity))</div>
|
|
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> {</div>
|
|
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> <span class="comment">// get log severities</span></div>
|
|
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a> ret(<a class="code hl_enumvalue" href="namespaceJson.html#a7d654b75c16a57007925868e38212b4eae8386dcfc36d1ae897745f7b4f77a1f6">Json::objectValue</a>);</div>
|
|
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> <a class="code hl_class" href="classJson_1_1Value.html">Json::Value</a> lev(<a class="code hl_enumvalue" href="namespaceJson.html#a7d654b75c16a57007925868e38212b4eae8386dcfc36d1ae897745f7b4f77a1f6">Json::objectValue</a>);</div>
|
|
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> </div>
|
|
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> lev[jss::base] = <a class="code hl_function" href="classxrpl_1_1Logs.html#ad801f1641409ca324856ff46b5d280b1">Logs::toString</a>(<a class="code hl_function" href="classxrpl_1_1Logs.html#a6142857762c0fead778f79c528baad84">Logs::fromSeverity</a>(context.<a class="code hl_variable" href="structxrpl_1_1RPC_1_1Context.html#a3819425c846e53ec0f1bcfa7407df609">app</a>.<a class="code hl_function" href="classxrpl_1_1Application.html#aa485013eac35a26530ed8727fb58cb5e">logs</a>().<a class="code hl_function" href="classxrpl_1_1Logs.html#a41fd8a8a7a607cc8cedf9f1145e05179">threshold</a>()));</div>
|
|
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<std::pair<std::string, std::string></a>> logTable(context.<a class="code hl_variable" href="structxrpl_1_1RPC_1_1Context.html#a3819425c846e53ec0f1bcfa7407df609">app</a>.<a class="code hl_function" href="classxrpl_1_1Application.html#aa485013eac35a26530ed8727fb58cb5e">logs</a>().<a class="code hl_function" href="classxrpl_1_1Logs.html#a6a6690e7ceef1acdbacc47c39a646d17">partition_severities</a>());</div>
|
|
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> <span class="keywordflow">for</span> (<span class="keyword">auto</span> <span class="keyword">const</span>& [k, v] : logTable)</div>
|
|
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> lev[k] = v;</div>
|
|
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> </div>
|
|
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> ret[jss::levels] = lev;</div>
|
|
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> <span class="keywordflow">return</span> ret;</div>
|
|
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> }</div>
|
|
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> </div>
|
|
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> <a class="code hl_enumeration" href="namespacexrpl.html#a71c7a6ac224719e9e77344ee3117bce4">LogSeverity</a> <span class="keyword">const</span> sv(<a class="code hl_function" href="classxrpl_1_1Logs.html#a820e3849102305d760d07f60c73fac09">Logs::fromString</a>(context.<a class="code hl_variable" href="structxrpl_1_1RPC_1_1JsonContext.html#a30603f408d454be67d5250a62bf39287">params</a>[jss::severity].<a class="code hl_function" href="classJson_1_1Value.html#ab0d86bf425efefd03513e8dbfaca317b">asString</a>()));</div>
|
|
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> </div>
|
|
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> <span class="keywordflow">if</span> (sv == <a class="code hl_enumvalue" href="namespacexrpl.html#a71c7a6ac224719e9e77344ee3117bce4a6d49a14f55c1c7a15ea86109025d054d">lsINVALID</a>)</div>
|
|
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespacexrpl.html#ab2aea6659695e209e9affb77e421f43e">rpcError</a>(<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76faefd5dbecf662df8c7b2be66d6d0d68ec">rpcINVALID_PARAMS</a>);</div>
|
|
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> </div>
|
|
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> <span class="keyword">auto</span> severity = <a class="code hl_function" href="classxrpl_1_1Logs.html#af86ddbc077b2a7b6e49756fe01dfe9f4">Logs::toSeverity</a>(sv);</div>
|
|
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> <span class="comment">// log_level severity</span></div>
|
|
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> <span class="keywordflow">if</span> (!context.<a class="code hl_variable" href="structxrpl_1_1RPC_1_1JsonContext.html#a30603f408d454be67d5250a62bf39287">params</a>.<a class="code hl_function" href="classJson_1_1Value.html#abfa90c81f6aee7877bd5fb4c8445994f">isMember</a>(jss::partition))</div>
|
|
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> {</div>
|
|
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> <span class="comment">// set base log threshold</span></div>
|
|
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> context.<a class="code hl_variable" href="structxrpl_1_1RPC_1_1Context.html#a3819425c846e53ec0f1bcfa7407df609">app</a>.<a class="code hl_function" href="classxrpl_1_1Application.html#aa485013eac35a26530ed8727fb58cb5e">logs</a>().<a class="code hl_function" href="classxrpl_1_1Logs.html#a41fd8a8a7a607cc8cedf9f1145e05179">threshold</a>(severity);</div>
|
|
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceJson.html#a7d654b75c16a57007925868e38212b4eae8386dcfc36d1ae897745f7b4f77a1f6">Json::objectValue</a>;</div>
|
|
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> }</div>
|
|
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> </div>
|
|
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <span class="comment">// log_level partition severity base?</span></div>
|
|
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> <span class="keywordflow">if</span> (context.<a class="code hl_variable" href="structxrpl_1_1RPC_1_1JsonContext.html#a30603f408d454be67d5250a62bf39287">params</a>.<a class="code hl_function" href="classJson_1_1Value.html#abfa90c81f6aee7877bd5fb4c8445994f">isMember</a>(jss::partition))</div>
|
|
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> {</div>
|
|
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> <span class="comment">// set partition threshold</span></div>
|
|
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> partition(context.<a class="code hl_variable" href="structxrpl_1_1RPC_1_1JsonContext.html#a30603f408d454be67d5250a62bf39287">params</a>[jss::partition].<a class="code hl_function" href="classJson_1_1Value.html#ab0d86bf425efefd03513e8dbfaca317b">asString</a>());</div>
|
|
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> </div>
|
|
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> <span class="keywordflow">if</span> (boost::iequals(partition, <span class="stringliteral">"base"</span>))</div>
|
|
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> context.<a class="code hl_variable" href="structxrpl_1_1RPC_1_1Context.html#a3819425c846e53ec0f1bcfa7407df609">app</a>.<a class="code hl_function" href="classxrpl_1_1Application.html#aa485013eac35a26530ed8727fb58cb5e">logs</a>().<a class="code hl_function" href="classxrpl_1_1Logs.html#a41fd8a8a7a607cc8cedf9f1145e05179">threshold</a>(severity);</div>
|
|
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> <span class="keywordflow">else</span></div>
|
|
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> context.<a class="code hl_variable" href="structxrpl_1_1RPC_1_1Context.html#a3819425c846e53ec0f1bcfa7407df609">app</a>.<a class="code hl_function" href="classxrpl_1_1Application.html#aa485013eac35a26530ed8727fb58cb5e">logs</a>().<a class="code hl_function" href="classxrpl_1_1Logs.html#a58950043017d8ac5116d4a9491f02ae0">get</a>(partition).<a class="code hl_function" href="classbeast_1_1Journal_1_1Sink.html#a763da4afe95c22997084ad368db9dfc1">threshold</a>(severity);</div>
|
|
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> </div>
|
|
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceJson.html#a7d654b75c16a57007925868e38212b4eae8386dcfc36d1ae897745f7b4f77a1f6">Json::objectValue</a>;</div>
|
|
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> }</div>
|
|
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> </div>
|
|
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> <span class="keywordflow">return</span> <a class="code hl_function" href="namespacexrpl.html#ab2aea6659695e209e9affb77e421f43e">rpcError</a>(<a class="code hl_enumvalue" href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76faefd5dbecf662df8c7b2be66d6d0d68ec">rpcINVALID_PARAMS</a>);</div>
|
|
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span>}</div>
|
|
</div>
|
|
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> </div>
|
|
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span>} <span class="comment">// namespace xrpl</span></div>
|
|
<div class="ttc" id="abasic_string_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div></div>
|
|
<div class="ttc" id="aclassJson_1_1Value_html"><div class="ttname"><a href="classJson_1_1Value.html">Json::Value</a></div><div class="ttdoc">Represents a JSON value.</div><div class="ttdef"><b>Definition</b> <a href="json__value_8h_source.html#l00130">json_value.h:131</a></div></div>
|
|
<div class="ttc" id="aclassJson_1_1Value_html_ab0d86bf425efefd03513e8dbfaca317b"><div class="ttname"><a href="classJson_1_1Value.html#ab0d86bf425efefd03513e8dbfaca317b">Json::Value::asString</a></div><div class="ttdeci">std::string asString() const</div><div class="ttdoc">Returns the unquoted string value.</div><div class="ttdef"><b>Definition</b> <a href="json__value_8cpp_source.html#l00457">json_value.cpp:457</a></div></div>
|
|
<div class="ttc" id="aclassJson_1_1Value_html_abfa90c81f6aee7877bd5fb4c8445994f"><div class="ttname"><a href="classJson_1_1Value.html#abfa90c81f6aee7877bd5fb4c8445994f">Json::Value::isMember</a></div><div class="ttdeci">bool isMember(char const *key) const</div><div class="ttdoc">Return true if the object has a member named key.</div><div class="ttdef"><b>Definition</b> <a href="json__value_8cpp_source.html#l00978">json_value.cpp:978</a></div></div>
|
|
<div class="ttc" id="aclassbeast_1_1Journal_1_1Sink_html_a763da4afe95c22997084ad368db9dfc1"><div class="ttname"><a href="classbeast_1_1Journal_1_1Sink.html#a763da4afe95c22997084ad368db9dfc1">beast::Journal::Sink::threshold</a></div><div class="ttdeci">virtual Severity threshold() const</div><div class="ttdoc">Returns the minimum severity level this sink will report.</div><div class="ttdef"><b>Definition</b> <a href="beast__Journal_8cpp_source.html#l00096">beast_Journal.cpp:96</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1Application_html_aa485013eac35a26530ed8727fb58cb5e"><div class="ttname"><a href="classxrpl_1_1Application.html#aa485013eac35a26530ed8727fb58cb5e">xrpl::Application::logs</a></div><div class="ttdeci">virtual Logs & logs()=0</div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1Logs_html_a41fd8a8a7a607cc8cedf9f1145e05179"><div class="ttname"><a href="classxrpl_1_1Logs.html#a41fd8a8a7a607cc8cedf9f1145e05179">xrpl::Logs::threshold</a></div><div class="ttdeci">beast::severities::Severity threshold() const</div><div class="ttdef"><b>Definition</b> <a href="Log_8cpp_source.html#l00140">Log.cpp:140</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1Logs_html_a58950043017d8ac5116d4a9491f02ae0"><div class="ttname"><a href="classxrpl_1_1Logs.html#a58950043017d8ac5116d4a9491f02ae0">xrpl::Logs::get</a></div><div class="ttdeci">beast::Journal::Sink & get(std::string const &name)</div><div class="ttdef"><b>Definition</b> <a href="Log_8cpp_source.html#l00120">Log.cpp:120</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1Logs_html_a6142857762c0fead778f79c528baad84"><div class="ttname"><a href="classxrpl_1_1Logs.html#a6142857762c0fead778f79c528baad84">xrpl::Logs::fromSeverity</a></div><div class="ttdeci">static LogSeverity fromSeverity(beast::severities::Severity level)</div><div class="ttdef"><b>Definition</b> <a href="Log_8cpp_source.html#l00196">Log.cpp:196</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1Logs_html_a6a6690e7ceef1acdbacc47c39a646d17"><div class="ttname"><a href="classxrpl_1_1Logs.html#a6a6690e7ceef1acdbacc47c39a646d17">xrpl::Logs::partition_severities</a></div><div class="ttdeci">std::vector< std::pair< std::string, std::string > > partition_severities() const</div><div class="ttdef"><b>Definition</b> <a href="Log_8cpp_source.html#l00155">Log.cpp:155</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1Logs_html_a820e3849102305d760d07f60c73fac09"><div class="ttname"><a href="classxrpl_1_1Logs.html#a820e3849102305d760d07f60c73fac09">xrpl::Logs::fromString</a></div><div class="ttdeci">static LogSeverity fromString(std::string const &s)</div><div class="ttdef"><b>Definition</b> <a href="Log_8cpp_source.html#l00278">Log.cpp:278</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1Logs_html_ad801f1641409ca324856ff46b5d280b1"><div class="ttname"><a href="classxrpl_1_1Logs.html#ad801f1641409ca324856ff46b5d280b1">xrpl::Logs::toString</a></div><div class="ttdeci">static std::string toString(LogSeverity s)</div><div class="ttdef"><b>Definition</b> <a href="Log_8cpp_source.html#l00253">Log.cpp:253</a></div></div>
|
|
<div class="ttc" id="aclassxrpl_1_1Logs_html_af86ddbc077b2a7b6e49756fe01dfe9f4"><div class="ttname"><a href="classxrpl_1_1Logs.html#af86ddbc077b2a7b6e49756fe01dfe9f4">xrpl::Logs::toSeverity</a></div><div class="ttdeci">static beast::severities::Severity toSeverity(LogSeverity level)</div><div class="ttdef"><b>Definition</b> <a href="Log_8cpp_source.html#l00225">Log.cpp:225</a></div></div>
|
|
<div class="ttc" id="anamespaceJson_html_a7d654b75c16a57007925868e38212b4eae8386dcfc36d1ae897745f7b4f77a1f6"><div class="ttname"><a href="namespaceJson.html#a7d654b75c16a57007925868e38212b4eae8386dcfc36d1ae897745f7b4f77a1f6">Json::objectValue</a></div><div class="ttdeci">@ objectValue</div><div class="ttdoc">object value (collection of name/value pairs).</div><div class="ttdef"><b>Definition</b> <a href="json__value_8h_source.html#l00028">json_value.h:27</a></div></div>
|
|
<div class="ttc" id="anamespacexrpl_html"><div class="ttname"><a href="namespacexrpl.html">xrpl</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition</b> <a href="algorithm_8h_source.html#l00006">algorithm.h:6</a></div></div>
|
|
<div class="ttc" id="anamespacexrpl_html_a53697f1499d5a817259c6adb76aaccad"><div class="ttname"><a href="namespacexrpl.html#a53697f1499d5a817259c6adb76aaccad">xrpl::doLogLevel</a></div><div class="ttdeci">Json::Value doLogLevel(RPC::JsonContext &)</div><div class="ttdef"><b>Definition</b> <a href="LogLevel_8cpp_source.html#l00015">LogLevel.cpp:15</a></div></div>
|
|
<div class="ttc" id="anamespacexrpl_html_a71c7a6ac224719e9e77344ee3117bce4"><div class="ttname"><a href="namespacexrpl.html#a71c7a6ac224719e9e77344ee3117bce4">xrpl::LogSeverity</a></div><div class="ttdeci">LogSeverity</div><div class="ttdef"><b>Definition</b> <a href="Log_8h_source.html#l00019">Log.h:19</a></div></div>
|
|
<div class="ttc" id="anamespacexrpl_html_a71c7a6ac224719e9e77344ee3117bce4a6d49a14f55c1c7a15ea86109025d054d"><div class="ttname"><a href="namespacexrpl.html#a71c7a6ac224719e9e77344ee3117bce4a6d49a14f55c1c7a15ea86109025d054d">xrpl::lsINVALID</a></div><div class="ttdeci">@ lsINVALID</div><div class="ttdef"><b>Definition</b> <a href="Log_8h_source.html#l00020">Log.h:20</a></div></div>
|
|
<div class="ttc" id="anamespacexrpl_html_ab2aea6659695e209e9affb77e421f43e"><div class="ttname"><a href="namespacexrpl.html#ab2aea6659695e209e9affb77e421f43e">xrpl::rpcError</a></div><div class="ttdeci">Json::Value rpcError(error_code_i iError)</div><div class="ttdef"><b>Definition</b> <a href="RPCErr_8cpp_source.html#l00012">RPCErr.cpp:12</a></div></div>
|
|
<div class="ttc" id="anamespacexrpl_html_af6fadbc1b2101eff5fa78e7e2a50b76faefd5dbecf662df8c7b2be66d6d0d68ec"><div class="ttname"><a href="namespacexrpl.html#af6fadbc1b2101eff5fa78e7e2a50b76faefd5dbecf662df8c7b2be66d6d0d68ec">xrpl::rpcINVALID_PARAMS</a></div><div class="ttdeci">@ rpcINVALID_PARAMS</div><div class="ttdef"><b>Definition</b> <a href="ErrorCodes_8h_source.html#l00065">ErrorCodes.h:65</a></div></div>
|
|
<div class="ttc" id="astructxrpl_1_1RPC_1_1Context_html_a3819425c846e53ec0f1bcfa7407df609"><div class="ttname"><a href="structxrpl_1_1RPC_1_1Context.html#a3819425c846e53ec0f1bcfa7407df609">xrpl::RPC::Context::app</a></div><div class="ttdeci">Application & app</div><div class="ttdef"><b>Definition</b> <a href="Context_8h_source.html#l00022">Context.h:22</a></div></div>
|
|
<div class="ttc" id="astructxrpl_1_1RPC_1_1JsonContext_html"><div class="ttname"><a href="structxrpl_1_1RPC_1_1JsonContext.html">xrpl::RPC::JsonContext</a></div><div class="ttdef"><b>Definition</b> <a href="Context_8h_source.html#l00033">Context.h:34</a></div></div>
|
|
<div class="ttc" id="astructxrpl_1_1RPC_1_1JsonContext_html_a30603f408d454be67d5250a62bf39287"><div class="ttname"><a href="structxrpl_1_1RPC_1_1JsonContext.html#a30603f408d454be67d5250a62bf39287">xrpl::RPC::JsonContext::params</a></div><div class="ttdeci">Json::Value params</div><div class="ttdef"><b>Definition</b> <a href="Context_8h_source.html#l00044">Context.h:44</a></div></div>
|
|
<div class="ttc" id="avector_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a></div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
|
|
</small></address>
|
|
</body>
|
|
</html>
|