-
Notifications
You must be signed in to change notification settings - Fork 0
/
emptylogger_8hpp_source.html
145 lines (143 loc) · 18.4 KB
/
emptylogger_8hpp_source.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<!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">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libcudaisp: /builds/ridgerun/rnd/libcudaisp/rr/include/libcudaisp/emptylogger.hpp 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 style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">libcudaisp
 <span id="projectnumber">0.1.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @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:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- 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">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_4308c347a8925fe03bb0c6144b7007d3.html">rr</a></li><li class="navelem"><a class="el" href="dir_fa3db636adf90fe59970a0aa671df06e.html">include</a></li><li class="navelem"><a class="el" href="dir_6c7c75103029e69b04aae0fd900161b1.html">libcudaisp</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">emptylogger.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="emptylogger_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright (C) 2023 RidgeRun, LLC (http://www.ridgerun.com)</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * All Rights Reserved.</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * The contents of this software are proprietary and confidential to RidgeRun,</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * LLC. No part of this program may be photocopied, reproduced or translated</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * into another programming language without prior written consent of</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * RidgeRun, LLC. The user is free to modify the source code after obtaining</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * a software license from RidgeRun. All source code changes must be provided</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * back to RidgeRun without any encumbrance.</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  </div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#ifndef RR_INCLUDE_LIBCUDAISP_EMPTYLOGGER_HPP_</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#define RR_INCLUDE_LIBCUDAISP_EMPTYLOGGER_HPP_</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  </div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include "<a class="code" href="ilogger_8hpp.html">libcudaisp/ilogger.hpp</a>"</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  </div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include <string></span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  </div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="keyword">namespace </span><a class="code" href="namespacerr.html">rr</a> {</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  </div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="classrr_1_1_empty_logger.html"> 28</a></span> <span class="keyword">class </span><a class="code" href="classrr_1_1_empty_logger.html">EmptyLogger</a> : <span class="keyword">public</span> <a class="code" href="classrr_1_1_i_logger.html">ILogger</a> {</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="classrr_1_1_empty_logger.html#a362c854c6b3dee5d898a2b2de22c040f"> 35</a></span>  <span class="keyword">explicit</span> <a class="code" href="classrr_1_1_empty_logger.html#a362c854c6b3dee5d898a2b2de22c040f">EmptyLogger</a>(<span class="keyword">const</span> std::string& filename) {}</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  </div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classrr_1_1_empty_logger.html#a7d0fb9366578ba8db1970af6b20df27e"> 40</a></span>  <span class="keyword">virtual</span> <a class="code" href="classrr_1_1_empty_logger.html#a7d0fb9366578ba8db1970af6b20df27e">~EmptyLogger</a>() {}</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  </div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="classrr_1_1_empty_logger.html#af186ee46ea92a3da0f00e88460c0089f"> 47</a></span>  <span class="keywordtype">void</span> <a class="code" href="classrr_1_1_empty_logger.html#af186ee46ea92a3da0f00e88460c0089f">SetLevel</a>(<a class="code" href="classrr_1_1_i_logger.html#a3ad505aa7e2c6f38e8d8f098de0d96a7">Level</a> level)<span class="keyword"> override </span>{}</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  </div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classrr_1_1_empty_logger.html#a4c14cddef648737b5be793b32b990d05"> 54</a></span>  <span class="keywordtype">void</span> <a class="code" href="classrr_1_1_empty_logger.html#a4c14cddef648737b5be793b32b990d05">SetConsoleLevel</a>(<a class="code" href="classrr_1_1_i_logger.html#a3ad505aa7e2c6f38e8d8f098de0d96a7">Level</a> level)<span class="keyword"> override </span>{}</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  </div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="classrr_1_1_empty_logger.html#ada7eb0ca241be9697c6b34cb8ef9a97b"> 61</a></span>  <span class="keywordtype">void</span> <a class="code" href="classrr_1_1_empty_logger.html#ada7eb0ca241be9697c6b34cb8ef9a97b">SetLogfileLevel</a>(<a class="code" href="classrr_1_1_i_logger.html#a3ad505aa7e2c6f38e8d8f098de0d96a7">Level</a> level)<span class="keyword"> override </span>{}</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  </div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classrr_1_1_empty_logger.html#aef67cf994f176dc2b93c8c930d2355d7"> 68</a></span>  <span class="keywordtype">void</span> <a class="code" href="classrr_1_1_empty_logger.html#aef67cf994f176dc2b93c8c930d2355d7">Trace</a>(<span class="keyword">const</span> std::string& msg)<span class="keyword"> override </span>{}</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  </div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="classrr_1_1_empty_logger.html#a92146dddd9cab2ee1b7cf589411c7f45"> 75</a></span>  <span class="keywordtype">void</span> <a class="code" href="classrr_1_1_empty_logger.html#a92146dddd9cab2ee1b7cf589411c7f45">Debug</a>(<span class="keyword">const</span> std::string& msg)<span class="keyword"> override </span>{}</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  </div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="classrr_1_1_empty_logger.html#a60e21228d507c0cba9ce503390bd7149"> 82</a></span>  <span class="keywordtype">void</span> <a class="code" href="classrr_1_1_empty_logger.html#a60e21228d507c0cba9ce503390bd7149">Info</a>(<span class="keyword">const</span> std::string& msg)<span class="keyword"> override </span>{}</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  </div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classrr_1_1_empty_logger.html#ae996cffbec72192549148130134b296b"> 89</a></span>  <span class="keywordtype">void</span> <a class="code" href="classrr_1_1_empty_logger.html#ae996cffbec72192549148130134b296b">Warning</a>(<span class="keyword">const</span> std::string& msg)<span class="keyword"> override </span>{}</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  </div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="classrr_1_1_empty_logger.html#a9db09d2dbaf19b1e695815b1a3ab4f2b"> 96</a></span>  <span class="keywordtype">void</span> <a class="code" href="classrr_1_1_empty_logger.html#a9db09d2dbaf19b1e695815b1a3ab4f2b">Error</a>(<span class="keyword">const</span> std::string& msg)<span class="keyword"> override </span>{}</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  </div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="classrr_1_1_empty_logger.html#a46ddc62f4bdda7d80d5ddee8a85bcb19"> 103</a></span>  <span class="keywordtype">void</span> <a class="code" href="classrr_1_1_empty_logger.html#a46ddc62f4bdda7d80d5ddee8a85bcb19">Critical</a>(<span class="keyword">const</span> std::string& msg)<span class="keyword"> override </span>{}</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> };</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  </div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> } <span class="comment">// namespace rr</span></div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> <span class="preprocessor">#endif // RR_INCLUDE_LIBCUDAISP_EMPTYLOGGER_HPP_</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclassrr_1_1_empty_logger_html_a362c854c6b3dee5d898a2b2de22c040f"><div class="ttname"><a href="classrr_1_1_empty_logger.html#a362c854c6b3dee5d898a2b2de22c040f">rr::EmptyLogger::EmptyLogger</a></div><div class="ttdeci">EmptyLogger(const std::string &filename)</div><div class="ttdoc">Construct a new EmptyLogger instance.</div><div class="ttdef"><b>Definition:</b> emptylogger.hpp:35</div></div>
<div class="ttc" id="aclassrr_1_1_empty_logger_html_a9db09d2dbaf19b1e695815b1a3ab4f2b"><div class="ttname"><a href="classrr_1_1_empty_logger.html#a9db09d2dbaf19b1e695815b1a3ab4f2b">rr::EmptyLogger::Error</a></div><div class="ttdeci">void Error(const std::string &msg) override</div><div class="ttdoc">This method logs an error level message.</div><div class="ttdef"><b>Definition:</b> emptylogger.hpp:96</div></div>
<div class="ttc" id="ailogger_8hpp_html"><div class="ttname"><a href="ilogger_8hpp.html">ilogger.hpp</a></div></div>
<div class="ttc" id="aclassrr_1_1_empty_logger_html_ae996cffbec72192549148130134b296b"><div class="ttname"><a href="classrr_1_1_empty_logger.html#ae996cffbec72192549148130134b296b">rr::EmptyLogger::Warning</a></div><div class="ttdeci">void Warning(const std::string &msg) override</div><div class="ttdoc">This method logs a warning level message.</div><div class="ttdef"><b>Definition:</b> emptylogger.hpp:89</div></div>
<div class="ttc" id="aclassrr_1_1_i_logger_html_a3ad505aa7e2c6f38e8d8f098de0d96a7"><div class="ttname"><a href="classrr_1_1_i_logger.html#a3ad505aa7e2c6f38e8d8f098de0d96a7">rr::ILogger::Level</a></div><div class="ttdeci">Level</div><div class="ttdoc">Logging levels used to filter which messages are displayed on the console or written to the log file.</div><div class="ttdef"><b>Definition:</b> ilogger.hpp:86</div></div>
<div class="ttc" id="aclassrr_1_1_empty_logger_html_a92146dddd9cab2ee1b7cf589411c7f45"><div class="ttname"><a href="classrr_1_1_empty_logger.html#a92146dddd9cab2ee1b7cf589411c7f45">rr::EmptyLogger::Debug</a></div><div class="ttdeci">void Debug(const std::string &msg) override</div><div class="ttdoc">This method logs a debug level message.</div><div class="ttdef"><b>Definition:</b> emptylogger.hpp:75</div></div>
<div class="ttc" id="anamespacerr_html"><div class="ttname"><a href="namespacerr.html">rr</a></div><div class="ttdoc">RR Namespace.</div><div class="ttdef"><b>Definition:</b> runtimeerror.cpp:16</div></div>
<div class="ttc" id="aclassrr_1_1_empty_logger_html_a7d0fb9366578ba8db1970af6b20df27e"><div class="ttname"><a href="classrr_1_1_empty_logger.html#a7d0fb9366578ba8db1970af6b20df27e">rr::EmptyLogger::~EmptyLogger</a></div><div class="ttdeci">virtual ~EmptyLogger()</div><div class="ttdoc">Destroy the SpdLogger object.</div><div class="ttdef"><b>Definition:</b> emptylogger.hpp:40</div></div>
<div class="ttc" id="aclassrr_1_1_empty_logger_html_a46ddc62f4bdda7d80d5ddee8a85bcb19"><div class="ttname"><a href="classrr_1_1_empty_logger.html#a46ddc62f4bdda7d80d5ddee8a85bcb19">rr::EmptyLogger::Critical</a></div><div class="ttdeci">void Critical(const std::string &msg) override</div><div class="ttdoc">This method logs a critical level message.</div><div class="ttdef"><b>Definition:</b> emptylogger.hpp:103</div></div>
<div class="ttc" id="aclassrr_1_1_empty_logger_html_a60e21228d507c0cba9ce503390bd7149"><div class="ttname"><a href="classrr_1_1_empty_logger.html#a60e21228d507c0cba9ce503390bd7149">rr::EmptyLogger::Info</a></div><div class="ttdeci">void Info(const std::string &msg) override</div><div class="ttdoc">This method logs an info level message.</div><div class="ttdef"><b>Definition:</b> emptylogger.hpp:82</div></div>
<div class="ttc" id="aclassrr_1_1_empty_logger_html"><div class="ttname"><a href="classrr_1_1_empty_logger.html">rr::EmptyLogger</a></div><div class="ttdoc">This interface provides empty common logging methods.</div><div class="ttdef"><b>Definition:</b> emptylogger.hpp:28</div></div>
<div class="ttc" id="aclassrr_1_1_empty_logger_html_a4c14cddef648737b5be793b32b990d05"><div class="ttname"><a href="classrr_1_1_empty_logger.html#a4c14cddef648737b5be793b32b990d05">rr::EmptyLogger::SetConsoleLevel</a></div><div class="ttdeci">void SetConsoleLevel(Level level) override</div><div class="ttdoc">Set the level at which to filter logging to console.</div><div class="ttdef"><b>Definition:</b> emptylogger.hpp:54</div></div>
<div class="ttc" id="aclassrr_1_1_empty_logger_html_aef67cf994f176dc2b93c8c930d2355d7"><div class="ttname"><a href="classrr_1_1_empty_logger.html#aef67cf994f176dc2b93c8c930d2355d7">rr::EmptyLogger::Trace</a></div><div class="ttdeci">void Trace(const std::string &msg) override</div><div class="ttdoc">This method logs a trace level message.</div><div class="ttdef"><b>Definition:</b> emptylogger.hpp:68</div></div>
<div class="ttc" id="aclassrr_1_1_empty_logger_html_af186ee46ea92a3da0f00e88460c0089f"><div class="ttname"><a href="classrr_1_1_empty_logger.html#af186ee46ea92a3da0f00e88460c0089f">rr::EmptyLogger::SetLevel</a></div><div class="ttdeci">void SetLevel(Level level) override</div><div class="ttdoc">Set the level at which to filter logging to console and to log file.</div><div class="ttdef"><b>Definition:</b> emptylogger.hpp:47</div></div>
<div class="ttc" id="aclassrr_1_1_i_logger_html"><div class="ttname"><a href="classrr_1_1_i_logger.html">rr::ILogger</a></div><div class="ttdoc">This interface provides common logging methods.</div><div class="ttdef"><b>Definition:</b> ilogger.hpp:79</div></div>
<div class="ttc" id="aclassrr_1_1_empty_logger_html_ada7eb0ca241be9697c6b34cb8ef9a97b"><div class="ttname"><a href="classrr_1_1_empty_logger.html#ada7eb0ca241be9697c6b34cb8ef9a97b">rr::EmptyLogger::SetLogfileLevel</a></div><div class="ttdeci">void SetLogfileLevel(Level level) override</div><div class="ttdoc">Set the level at which to filter logging to log file.</div><div class="ttdef"><b>Definition:</b> emptylogger.hpp:61</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Mar 14 2023 20:22:00 for libcudaisp by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>