-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 1bb3b45
Showing
325 changed files
with
28,509 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
<!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.10.0"/> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"/> | ||
<title>SA_Logger: Include/SA/Logger/Streams/ALogStream.hpp File Reference</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> | ||
<script type="text/javascript" src="clipboard.js"></script> | ||
<script type="text/javascript" src="cookie.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">SA_Logger | ||
</div> | ||
<div id="projectbrief">Sapphire's Suite's C++ Logger.</div> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
<!-- end header part --> | ||
<!-- Generated by Doxygen 1.10.0 --> | ||
<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'); | ||
$(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"> | ||
<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_856524284ebe840938865dc061f982fb.html">Include</a></li><li class="navelem"><a class="el" href="dir_5e42f1ed0250ef473f569b10c537902f.html">SA</a></li><li class="navelem"><a class="el" href="dir_44e3ece6b88e5298d391eff2985b9a07.html">Logger</a></li><li class="navelem"><a class="el" href="dir_7cdbe1d274c0bbbb0e754cc9743078b6.html">Streams</a></li> </ul> | ||
</div> | ||
</div><!-- top --> | ||
<div class="header"> | ||
<div class="summary"> | ||
<a href="#nested-classes">Classes</a> </div> | ||
<div class="headertitle"><div class="title">ALogStream.hpp File Reference<div class="ingroups"><a class="el" href="group___logger.html">Logger</a> » <a class="el" href="group___logger___stream.html">Stream</a></div></div></div> | ||
</div><!--header--> | ||
<div class="contents"> | ||
|
||
<p>Log <b>base stream</b> implementation. | ||
<a href="#details">More...</a></p> | ||
<div class="textblock"><code>#include <<a class="el" href="_log_8hpp_source.html">SA/Logger/Log/Log.hpp</a>></code><br /> | ||
<code>#include <<a class="el" href="_log_channel_filter_8hpp_source.html">SA/Logger/Log/LogChannelFilter.hpp</a>></code><br /> | ||
</div> | ||
<p><a href="_a_log_stream_8hpp_source.html">Go to the source code of this file.</a></p> | ||
<table class="memberdecls"> | ||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a> | ||
Classes</h2></td></tr> | ||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_a_1_1_a_log_stream.html">SA::ALogStream</a></td></tr> | ||
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Abstract log stream class. <a href="class_s_a_1_1_a_log_stream.html#details">More...</a><br /></td></tr> | ||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> | ||
</table> | ||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> | ||
<div class="textblock"><p>Log <b>base stream</b> implementation. </p> | ||
<p>Stream used by Logger. </p> | ||
</div></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.10.0 | ||
</small></address> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,141 @@ | ||
<!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.10.0"/> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"/> | ||
<title>SA_Logger: Include/SA/Logger/Streams/ALogStream.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> | ||
<script type="text/javascript" src="clipboard.js"></script> | ||
<script type="text/javascript" src="cookie.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">SA_Logger | ||
</div> | ||
<div id="projectbrief">Sapphire's Suite's C++ Logger.</div> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
<!-- end header part --> | ||
<!-- Generated by Doxygen 1.10.0 --> | ||
<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'); | ||
$(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 */ | ||
$(function() { codefold.init(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_856524284ebe840938865dc061f982fb.html">Include</a></li><li class="navelem"><a class="el" href="dir_5e42f1ed0250ef473f569b10c537902f.html">SA</a></li><li class="navelem"><a class="el" href="dir_44e3ece6b88e5298d391eff2985b9a07.html">Logger</a></li><li class="navelem"><a class="el" href="dir_7cdbe1d274c0bbbb0e754cc9743078b6.html">Streams</a></li> </ul> | ||
</div> | ||
</div><!-- top --> | ||
<div class="header"> | ||
<div class="headertitle"><div class="title">ALogStream.hpp</div></div> | ||
</div><!--header--> | ||
<div class="contents"> | ||
<a href="_a_log_stream_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">// Copyright (c) 2023 Sapphire's Suite. All Rights Reserved.</span></div> | ||
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span> </div> | ||
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="preprocessor">#pragma once</span></div> | ||
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span> </div> | ||
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#ifndef SAPPHIRE_LOGGER_ALOG_STREAM_GUARD</span></div> | ||
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#define SAPPHIRE_LOGGER_ALOG_STREAM_GUARD</span></div> | ||
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span> </div> | ||
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include <<a class="code" href="_log_8hpp.html">SA/Logger/Log/Log.hpp</a>></span></div> | ||
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include <<a class="code" href="_log_channel_filter_8hpp.html">SA/Logger/Log/LogChannelFilter.hpp</a>></span></div> | ||
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span> </div> | ||
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="keyword">namespace </span>SA</div> | ||
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span>{</div> | ||
<div class="foldopen" id="foldopen00026" data-start="{" data-end="};"> | ||
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"><a class="line" href="class_s_a_1_1_a_log_stream.html"> 26</a></span> <span class="keyword">class </span><a class="code hl_class" href="class_s_a_1_1_a_log_stream.html">ALogStream</a></div> | ||
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> {</div> | ||
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">protected</span>:</div> | ||
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="class_s_a_1_1_a_log_stream.html#a6c8b769f9c2b78e8d96558372010a1b7"> 34</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_s_a_1_1_a_log_stream.html#a6c8b769f9c2b78e8d96558372010a1b7">Output</a>(<span class="keyword">const</span> <a class="code hl_class" href="class_s_a_1_1_log.html">Log</a>& _log) = 0;</div> | ||
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> </div> | ||
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">public</span>:</div> | ||
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="class_s_a_1_1_a_log_stream.html#a9e89988151e0e4efb64f4e565896d50d"> 38</a></span> <a class="code hl_class" href="class_s_a_1_1_log_channel_filter.html">LogChannelFilter</a> <a class="code hl_variable" href="class_s_a_1_1_a_log_stream.html#a9e89988151e0e4efb64f4e565896d50d">channelFilter</a>;</div> | ||
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> </div> | ||
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="class_s_a_1_1_a_log_stream.html#ad19003a0076ed37dfd612d5e213cea83"> 41</a></span> uint8_t <a class="code hl_variable" href="class_s_a_1_1_a_log_stream.html#ad19003a0076ed37dfd612d5e213cea83">levelFlags</a> = LogLevel::Default;</div> | ||
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> </div> | ||
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="class_s_a_1_1_a_log_stream.html#a1667db6eabd89ae92d5f9a51ef8e8407"> 44</a></span> <span class="keyword">virtual</span> <a class="code hl_function" href="class_s_a_1_1_a_log_stream.html#a1667db6eabd89ae92d5f9a51ef8e8407">~ALogStream</a>() = <span class="keywordflow">default</span>;</div> | ||
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> </div> | ||
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"><a class="line" href="class_s_a_1_1_a_log_stream.html#a8c73209a0cf54fa2c51c8850c90546cc"> 52</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_s_a_1_1_a_log_stream.html#a8c73209a0cf54fa2c51c8850c90546cc">ProcessLog</a>(<span class="keyword">const</span> <a class="code hl_class" href="class_s_a_1_1_log.html">Log</a>& _log, <span class="keywordtype">bool</span> _bForce = <span class="keyword">false</span>);</div> | ||
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> </div> | ||
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"><a class="line" href="class_s_a_1_1_a_log_stream.html#a9ed8f736a91aa57628f8b3d38dede07d"> 57</a></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_s_a_1_1_a_log_stream.html#a9ed8f736a91aa57628f8b3d38dede07d">Flush</a>();</div> | ||
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> </div> | ||
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"><a class="line" href="class_s_a_1_1_a_log_stream.html#a6d8e85baca0ac22bca5d7c66d9bcccac"> 66</a></span> <a class="code hl_class" href="class_s_a_1_1_a_log_stream.html">ALogStream</a>& <a class="code hl_function" href="class_s_a_1_1_a_log_stream.html#a6d8e85baca0ac22bca5d7c66d9bcccac">operator<<</a>(<span class="keyword">const</span> <a class="code hl_class" href="class_s_a_1_1_log.html">Log</a>& _log);</div> | ||
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> };</div> | ||
</div> | ||
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span>}</div> | ||
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> </div> | ||
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> </div> | ||
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span><span class="preprocessor">#endif </span><span class="comment">// GUARD</span></div> | ||
<div class="ttc" id="a_log_8hpp_html"><div class="ttname"><a href="_log_8hpp.html">Log.hpp</a></div><div class="ttdoc">Log type implementation.</div></div> | ||
<div class="ttc" id="a_log_channel_filter_8hpp_html"><div class="ttname"><a href="_log_channel_filter_8hpp.html">LogChannelFilter.hpp</a></div><div class="ttdoc">Channel filter implementation.</div></div> | ||
<div class="ttc" id="aclass_s_a_1_1_a_log_stream_html"><div class="ttname"><a href="class_s_a_1_1_a_log_stream.html">SA::ALogStream</a></div><div class="ttdoc">Abstract log stream class.</div><div class="ttdef"><b>Definition</b> ALogStream.hpp:27</div></div> | ||
<div class="ttc" id="aclass_s_a_1_1_a_log_stream_html_a1667db6eabd89ae92d5f9a51ef8e8407"><div class="ttname"><a href="class_s_a_1_1_a_log_stream.html#a1667db6eabd89ae92d5f9a51ef8e8407">SA::ALogStream::~ALogStream</a></div><div class="ttdeci">virtual ~ALogStream()=default</div><div class="ttdoc">Default virtual destructor.</div></div> | ||
<div class="ttc" id="aclass_s_a_1_1_a_log_stream_html_a6c8b769f9c2b78e8d96558372010a1b7"><div class="ttname"><a href="class_s_a_1_1_a_log_stream.html#a6c8b769f9c2b78e8d96558372010a1b7">SA::ALogStream::Output</a></div><div class="ttdeci">virtual void Output(const Log &_log)=0</div><div class="ttdoc">Output a log in stream.</div></div> | ||
<div class="ttc" id="aclass_s_a_1_1_a_log_stream_html_a6d8e85baca0ac22bca5d7c66d9bcccac"><div class="ttname"><a href="class_s_a_1_1_a_log_stream.html#a6d8e85baca0ac22bca5d7c66d9bcccac">SA::ALogStream::operator<<</a></div><div class="ttdeci">ALogStream & operator<<(const Log &_log)</div><div class="ttdoc">Output log operator.</div></div> | ||
<div class="ttc" id="aclass_s_a_1_1_a_log_stream_html_a8c73209a0cf54fa2c51c8850c90546cc"><div class="ttname"><a href="class_s_a_1_1_a_log_stream.html#a8c73209a0cf54fa2c51c8850c90546cc">SA::ALogStream::ProcessLog</a></div><div class="ttdeci">void ProcessLog(const Log &_log, bool _bForce=false)</div><div class="ttdoc">Process a log to output in stream.</div></div> | ||
<div class="ttc" id="aclass_s_a_1_1_a_log_stream_html_a9e89988151e0e4efb64f4e565896d50d"><div class="ttname"><a href="class_s_a_1_1_a_log_stream.html#a9e89988151e0e4efb64f4e565896d50d">SA::ALogStream::channelFilter</a></div><div class="ttdeci">LogChannelFilter channelFilter</div><div class="ttdoc">Channel filter used for log in stream.</div><div class="ttdef"><b>Definition</b> ALogStream.hpp:38</div></div> | ||
<div class="ttc" id="aclass_s_a_1_1_a_log_stream_html_a9ed8f736a91aa57628f8b3d38dede07d"><div class="ttname"><a href="class_s_a_1_1_a_log_stream.html#a9ed8f736a91aa57628f8b3d38dede07d">SA::ALogStream::Flush</a></div><div class="ttdeci">virtual void Flush()</div><div class="ttdoc">Force the stream to flush.</div></div> | ||
<div class="ttc" id="aclass_s_a_1_1_a_log_stream_html_ad19003a0076ed37dfd612d5e213cea83"><div class="ttname"><a href="class_s_a_1_1_a_log_stream.html#ad19003a0076ed37dfd612d5e213cea83">SA::ALogStream::levelFlags</a></div><div class="ttdeci">uint8_t levelFlags</div><div class="ttdoc">Level filter used for log in stream.</div><div class="ttdef"><b>Definition</b> ALogStream.hpp:41</div></div> | ||
<div class="ttc" id="aclass_s_a_1_1_log_channel_filter_html"><div class="ttname"><a href="class_s_a_1_1_log_channel_filter.html">SA::LogChannelFilter</a></div><div class="ttdef"><b>Definition</b> LogChannelFilter.hpp:31</div></div> | ||
<div class="ttc" id="aclass_s_a_1_1_log_html"><div class="ttname"><a href="class_s_a_1_1_log.html">SA::Log</a></div><div class="ttdoc">Log type implementation.</div><div class="ttdef"><b>Definition</b> Log.hpp:25</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.10.0 | ||
</small></address> | ||
</body> | ||
</html> |
Oops, something went wrong.