2026-08-02 01:36:11 +00:00
<!-- HTML header for doxygen 1.9.8-->
<!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 > RTAB-Map: ULogger Class 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 >
2026-08-02 07:56:38 +00:00
< link href = "navtree.css" rel = "stylesheet" type = "text/css" />
< script type = "text/javascript" src = "resize.js" ></ script >
< script type = "text/javascript" src = "navtreedata.js" ></ script >
< script type = "text/javascript" src = "navtree.js" ></ script >
2026-08-02 01:36:11 +00:00
< 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" />
< script type = "text/javascript" > window . RTABMAP_DOC_ROOT = "" ;</ script >
< script type = "text/javascript" src = "../versions.js" ></ script >
< script type = "text/javascript" src = "version-switcher.js" ></ script >
</ 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" > RTAB-Map< span id = "projectnumber" >   0.23.10</ span >
</ div >
2026-08-02 07:56:38 +00:00
< div id = "projectbrief" > Real-Time Appearance-Based Mapping</ div >
2026-08-02 01:36:11 +00:00
</ 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 >
2026-08-02 07:56:38 +00:00
</ div > <!-- top -->
< div id = "side-nav" class = "ui-resizable side-nav-resizable" >
< div id = "nav-tree" >
< div id = "nav-tree-contents" >
< div id = "nav-sync" class = "sync" ></ div >
</ div >
</ div >
< div id = "splitbar" style = "-moz-user-select:none;"
class = "ui-resizable-handle" >
</ div >
</ div >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$ ( document ). ready ( function (){ initNavTree ( 'classULogger.html' , '' ); initResizable (); });
/* @license-end */
</ script >
< div id = "doc-content" >
2026-08-02 01:36:11 +00:00
<!-- 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 class = "header" >
< div class = "summary" >
< a href = "#pub-types" > Public Types</ a > |
< a href = "#pub-static-methods" > Static Public Member Functions</ a > |
< a href = "#pub-static-attribs" > Static Public Attributes</ a > |
< a href = "#pro-methods" > Protected Member Functions</ a > |
< a href = "#pro-static-methods" > Static Protected Member Functions</ a > |
< a href = "#pro-static-attribs" > Static Protected Attributes</ a > |
< a href = "#friends" > Friends</ a > |
< a href = "classULogger-members.html" > List of all members</ a > </ div >
< div class = "headertitle" >< div class = "title" > ULogger Class Reference</ div ></ div >
</ div > <!--header-->
< div class = "contents" >
< p >< code > #include < < a class = "el" href = "ULogger_8h_source.html" > ULogger.h</ a > > </ code ></ p >
< table class = "memberdecls" >
< tr class = "heading" >< td colspan = "2" >< h2 class = "groupheader" >< a id = "pub-types" name = "pub-types" ></ a >
Public Types</ h2 ></ td ></ tr >
< tr class = "memitem:aab74fc95f6494a3a2137d9094fe100d8" id = "r_aab74fc95f6494a3a2137d9094fe100d8" >< td class = "memItemLeft" align = "right" valign = "top" > enum   </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#aab74fc95f6494a3a2137d9094fe100d8" > Type</ a > { < b > kTypeNoLog</ b >
, < b > kTypeConsole</ b >
, < b > kTypeFile</ b >
}</ td ></ tr >
< tr class = "separator:aab74fc95f6494a3a2137d9094fe100d8" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a4f71cd491aa60029eb6ea4bf79c06218" id = "r_a4f71cd491aa60029eb6ea4bf79c06218" >< td class = "memItemLeft" align = "right" valign = "top" > enum   </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#a4f71cd491aa60029eb6ea4bf79c06218" > Level</ a > { < br />
   < b > kDebug</ b >
, < b > kInfo</ b >
, < b > kWarning</ b >
, < b > kError</ b >
, < br />
   < b > kFatal</ b >
< br />
}</ td ></ tr >
< tr class = "separator:a4f71cd491aa60029eb6ea4bf79c06218" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
</ table >< table class = "memberdecls" >
< tr class = "heading" >< td colspan = "2" >< h2 class = "groupheader" >< a id = "pub-static-methods" name = "pub-static-methods" ></ a >
Static Public Member Functions</ h2 ></ td ></ tr >
< tr class = "memitem:a0fe73ce7c193ff399bca16b8d4d4cabb" id = "r_a0fe73ce7c193ff399bca16b8d4d4cabb" >< td class = "memItemLeft" align = "right" valign = "top" > static void  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#a0fe73ce7c193ff399bca16b8d4d4cabb" > setType</ a > (< a class = "el" href = "classULogger.html#aab74fc95f6494a3a2137d9094fe100d8" > Type</ a > type, const std::string & fileName=< a class = "el" href = "classULogger.html#ad18593456dbc3c4157ce986f55de6795" > kDefaultLogFileName</ a > , bool append=true)</ td ></ tr >
< tr class = "separator:a0fe73ce7c193ff399bca16b8d4d4cabb" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:ad0cd4e8b5360b7b4e0659769e30975b3" id = "r_ad0cd4e8b5360b7b4e0659769e30975b3" >< td class = "memItemLeft" align = "right" valign = "top" > static < a class = "el" href = "classULogger.html#aab74fc95f6494a3a2137d9094fe100d8" > Type</ a >   </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#ad0cd4e8b5360b7b4e0659769e30975b3" > type</ a > ()</ td ></ tr >
< tr class = "separator:ad0cd4e8b5360b7b4e0659769e30975b3" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a2142b47257ecf1f2561afa8353eae411" id = "r_a2142b47257ecf1f2561afa8353eae411" >< td class = "memItemLeft" align = "right" valign = "top" > static void  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#a2142b47257ecf1f2561afa8353eae411" > setPrintTime</ a > (bool printTime)</ td ></ tr >
< tr class = "separator:a2142b47257ecf1f2561afa8353eae411" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:aecc02abdd0c8612c16051071b347a4fc" id = "r_aecc02abdd0c8612c16051071b347a4fc" >< td class = "memItemLeft" align = "right" valign = "top" > static bool  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#aecc02abdd0c8612c16051071b347a4fc" > isPrintTime</ a > ()</ td ></ tr >
< tr class = "separator:aecc02abdd0c8612c16051071b347a4fc" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a4a97457a98a02f60580e6f3c93f83d7a" id = "r_a4a97457a98a02f60580e6f3c93f83d7a" >< td class = "memItemLeft" align = "right" valign = "top" > static void  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#a4a97457a98a02f60580e6f3c93f83d7a" > setPrintLevel</ a > (bool printLevel)</ td ></ tr >
< tr class = "separator:a4a97457a98a02f60580e6f3c93f83d7a" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a73571f04136247a6772a458da19b7722" id = "r_a73571f04136247a6772a458da19b7722" >< td class = "memItemLeft" align = "right" valign = "top" > static bool  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#a73571f04136247a6772a458da19b7722" > isPrintLevel</ a > ()</ td ></ tr >
< tr class = "separator:a73571f04136247a6772a458da19b7722" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:aa7cd59599601cdb214c6cb4df103dca0" id = "r_aa7cd59599601cdb214c6cb4df103dca0" >< td class = "memItemLeft" align = "right" valign = "top" > static void  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#aa7cd59599601cdb214c6cb4df103dca0" > setPrintEndline</ a > (bool printEndline)</ td ></ tr >
< tr class = "separator:aa7cd59599601cdb214c6cb4df103dca0" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:ac7ed78359b6786401e09b5b347cc31d9" id = "r_ac7ed78359b6786401e09b5b347cc31d9" >< td class = "memItemLeft" align = "right" valign = "top" > static bool  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#ac7ed78359b6786401e09b5b347cc31d9" > isPrintEndLine</ a > ()</ td ></ tr >
< tr class = "separator:ac7ed78359b6786401e09b5b347cc31d9" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a773d95354adfe1fd1296f3b2f09668d3" id = "r_a773d95354adfe1fd1296f3b2f09668d3" >< td class = "memItemLeft" align = "right" valign = "top" > static void  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#a773d95354adfe1fd1296f3b2f09668d3" > setPrintColored</ a > (bool printColored)</ td ></ tr >
< tr class = "separator:a773d95354adfe1fd1296f3b2f09668d3" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a0dceaa4688338ea7f055f9fffdc4f9f3" id = "r_a0dceaa4688338ea7f055f9fffdc4f9f3" >< td class = "memItemLeft" align = "right" valign = "top" > static bool  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#a0dceaa4688338ea7f055f9fffdc4f9f3" > isPrintColored</ a > ()</ td ></ tr >
< tr class = "separator:a0dceaa4688338ea7f055f9fffdc4f9f3" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:af5a2e0f11770fcb457c1859c9f8b5ec3" id = "r_af5a2e0f11770fcb457c1859c9f8b5ec3" >< td class = "memItemLeft" align = "right" valign = "top" > static void  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#af5a2e0f11770fcb457c1859c9f8b5ec3" > setPrintWhere</ a > (bool printWhere)</ td ></ tr >
< tr class = "separator:af5a2e0f11770fcb457c1859c9f8b5ec3" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:ae2dc7028109e2fbe064b4435a757ad4a" id = "r_ae2dc7028109e2fbe064b4435a757ad4a" >< td class = "memItemLeft" align = "right" valign = "top" > static bool  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#ae2dc7028109e2fbe064b4435a757ad4a" > isPrintWhere</ a > ()</ td ></ tr >
< tr class = "separator:ae2dc7028109e2fbe064b4435a757ad4a" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a071b4484d0020a87760bbe282175724a" id = "r_a071b4484d0020a87760bbe282175724a" >< td class = "memItemLeft" align = "right" valign = "top" > static void  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#a071b4484d0020a87760bbe282175724a" > setPrintThreadId</ a > (bool printThreadId)</ td ></ tr >
< tr class = "separator:a071b4484d0020a87760bbe282175724a" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:acc84c42e0b56cf0712323d0578ee0665" id = "r_acc84c42e0b56cf0712323d0578ee0665" >< td class = "memItemLeft" align = "right" valign = "top" > static bool  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#acc84c42e0b56cf0712323d0578ee0665" > isPrintThreadId</ a > ()</ td ></ tr >
< tr class = "separator:acc84c42e0b56cf0712323d0578ee0665" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a2784b7a88339964e2a1c2b3436245bfc" id = "r_a2784b7a88339964e2a1c2b3436245bfc" >< td class = "memItemLeft" align = "right" valign = "top" > static void  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#a2784b7a88339964e2a1c2b3436245bfc" > setPrintWhereFullPath</ a > (bool printWhereFullPath)</ td ></ tr >
< tr class = "separator:a2784b7a88339964e2a1c2b3436245bfc" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:aebe1ef1c4044765108c216ee2fd38adf" id = "r_aebe1ef1c4044765108c216ee2fd38adf" >< td class = "memItemLeft" align = "right" valign = "top" > static bool  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#aebe1ef1c4044765108c216ee2fd38adf" > isPrintWhereFullPath</ a > ()</ td ></ tr >
< tr class = "separator:aebe1ef1c4044765108c216ee2fd38adf" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:ab981daf077b8afbf49c7bd185aa3b273" id = "r_ab981daf077b8afbf49c7bd185aa3b273" >< td class = "memItemLeft" align = "right" valign = "top" > static void  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#ab981daf077b8afbf49c7bd185aa3b273" > setBuffered</ a > (bool buffered)</ td ></ tr >
< tr class = "separator:ab981daf077b8afbf49c7bd185aa3b273" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:afe27125911c02fc1a0e24b080d1301b8" id = "r_afe27125911c02fc1a0e24b080d1301b8" >< td class = "memItemLeft" align = "right" valign = "top" > static bool  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#afe27125911c02fc1a0e24b080d1301b8" > isBuffered</ a > ()</ td ></ tr >
< tr class = "separator:afe27125911c02fc1a0e24b080d1301b8" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:ad8589bdaabddc1e9a260b890b1cf312e" id = "r_ad8589bdaabddc1e9a260b890b1cf312e" >< td class = "memItemLeft" align = "right" valign = "top" > static void  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#ad8589bdaabddc1e9a260b890b1cf312e" > setLevel</ a > (< a class = "el" href = "classULogger.html#a4f71cd491aa60029eb6ea4bf79c06218" > ULogger::Level</ a > level)</ td ></ tr >
< tr class = "separator:ad8589bdaabddc1e9a260b890b1cf312e" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a77555a4c4a3ed480fa408573aabde639" id = "r_a77555a4c4a3ed480fa408573aabde639" >< td class = "memItemLeft" align = "right" valign = "top" > static < a class = "el" href = "classULogger.html#a4f71cd491aa60029eb6ea4bf79c06218" > ULogger::Level</ a >   </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#a77555a4c4a3ed480fa408573aabde639" > level</ a > ()</ td ></ tr >
< tr class = "separator:a77555a4c4a3ed480fa408573aabde639" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:ac0705dc7bc5da07ce27351eb6519e942" id = "r_ac0705dc7bc5da07ce27351eb6519e942" >< td class = "memItemLeft" align = "right" valign = "top" > static void  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#ac0705dc7bc5da07ce27351eb6519e942" > setEventLevel</ a > (< a class = "el" href = "classULogger.html#a4f71cd491aa60029eb6ea4bf79c06218" > ULogger::Level</ a > eventSentLevel)</ td ></ tr >
< tr class = "separator:ac0705dc7bc5da07ce27351eb6519e942" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:aab99a62be56d6424dc8a7ebbdcef4115" id = "r_aab99a62be56d6424dc8a7ebbdcef4115" >< td class = "memItemLeft" align = "right" valign = "top" > static < a class = "el" href = "classULogger.html#a4f71cd491aa60029eb6ea4bf79c06218" > ULogger::Level</ a >   </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#aab99a62be56d6424dc8a7ebbdcef4115" > eventLevel</ a > ()</ td ></ tr >
< tr class = "separator:aab99a62be56d6424dc8a7ebbdcef4115" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:ada44d4afa869f1f9eab174a28c8a1acd" id = "r_ada44d4afa869f1f9eab174a28c8a1acd" >< td class = "memItemLeft" align = "right" valign = "top" > static void  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#ada44d4afa869f1f9eab174a28c8a1acd" > setTreadIdFilter</ a > (const std::set< unsigned long > & ids)</ td ></ tr >
< tr class = "separator:ada44d4afa869f1f9eab174a28c8a1acd" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a4e30ea0ec4e2a61e92844c4d78041ab8" id = "r_a4e30ea0ec4e2a61e92844c4d78041ab8" >< td class = "memItemLeft" align = "right" valign = "top" >< a id = "a4e30ea0ec4e2a61e92844c4d78041ab8" name = "a4e30ea0ec4e2a61e92844c4d78041ab8" ></ a >
static void  </ td >< td class = "memItemRight" valign = "bottom" >< b > setTreadIdFilter</ b > (const std::vector< std::string > & ids)</ td ></ tr >
< tr class = "separator:a4e30ea0ec4e2a61e92844c4d78041ab8" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:ae11916892c4ce5681bb46f286eeecc1b" id = "r_ae11916892c4ce5681bb46f286eeecc1b" >< td class = "memItemLeft" align = "right" valign = "top" > static const std::set< unsigned long > &  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#ae11916892c4ce5681bb46f286eeecc1b" > getTreadIdFilter</ a > ()</ td ></ tr >
< tr class = "separator:ae11916892c4ce5681bb46f286eeecc1b" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a9e0fa0a0e32b03f89d08668e7c0b4664" id = "r_a9e0fa0a0e32b03f89d08668e7c0b4664" >< td class = "memItemLeft" align = "right" valign = "top" > static void  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#a9e0fa0a0e32b03f89d08668e7c0b4664" > registerCurrentThread</ a > (const std::string & name)</ td ></ tr >
< tr class = "separator:a9e0fa0a0e32b03f89d08668e7c0b4664" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a34530c80c781715fa1661e00343c276f" id = "r_a34530c80c781715fa1661e00343c276f" >< td class = "memItemLeft" align = "right" valign = "top" >< a id = "a34530c80c781715fa1661e00343c276f" name = "a34530c80c781715fa1661e00343c276f" ></ a >
static void  </ td >< td class = "memItemRight" valign = "bottom" >< b > unregisterCurrentThread</ b > ()</ td ></ tr >
< tr class = "separator:a34530c80c781715fa1661e00343c276f" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a22da5b20dc48a998366f606b3f2d2467" id = "r_a22da5b20dc48a998366f606b3f2d2467" >< td class = "memItemLeft" align = "right" valign = "top" >< a id = "a22da5b20dc48a998366f606b3f2d2467" name = "a22da5b20dc48a998366f606b3f2d2467" ></ a >
static std::map< std::string, unsigned long >  </ td >< td class = "memItemRight" valign = "bottom" >< b > getRegisteredThreads</ b > ()</ td ></ tr >
< tr class = "separator:a22da5b20dc48a998366f606b3f2d2467" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a007b617547d616325e58003eb4352a19" id = "r_a007b617547d616325e58003eb4352a19" >< td class = "memItemLeft" align = "right" valign = "top" > static void  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#a007b617547d616325e58003eb4352a19" > reset</ a > ()</ td ></ tr >
< tr class = "separator:a007b617547d616325e58003eb4352a19" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a701ad6b99c9040cf3b5d47711e9f6d6a" id = "r_a701ad6b99c9040cf3b5d47711e9f6d6a" >< td class = "memItemLeft" align = "right" valign = "top" > static void  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#a701ad6b99c9040cf3b5d47711e9f6d6a" > flush</ a > ()</ td ></ tr >
< tr class = "separator:a701ad6b99c9040cf3b5d47711e9f6d6a" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:ad3e873651d0a7719a088ce69ad041507" id = "r_ad3e873651d0a7719a088ce69ad041507" >< td class = "memItemLeft" align = "right" valign = "top" >< a id = "ad3e873651d0a7719a088ce69ad041507" name = "ad3e873651d0a7719a088ce69ad041507" ></ a >
static void  </ td >< td class = "memItemRight" valign = "bottom" >< b > write</ b > (< a class = "el" href = "classULogger.html#a4f71cd491aa60029eb6ea4bf79c06218" > ULogger::Level</ a > level, const char *file, int line, const char *function, const char *msg,...)</ td ></ tr >
< tr class = "separator:ad3e873651d0a7719a088ce69ad041507" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:a17e6d133cea7c2cbe5365e5f5f2216a9" id = "r_a17e6d133cea7c2cbe5365e5f5f2216a9" >< td class = "memItemLeft" align = "right" valign = "top" > static int  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#a17e6d133cea7c2cbe5365e5f5f2216a9" > getTime</ a > (std::string & timeStr)</ td ></ tr >
< tr class = "separator:a17e6d133cea7c2cbe5365e5f5f2216a9" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
</ table >< table class = "memberdecls" >
< tr class = "heading" >< td colspan = "2" >< h2 class = "groupheader" >< a id = "pub-static-attribs" name = "pub-static-attribs" ></ a >
Static Public Attributes</ h2 ></ td ></ tr >
< tr class = "memitem:ad18593456dbc3c4157ce986f55de6795" id = "r_ad18593456dbc3c4157ce986f55de6795" >< td class = "memItemLeft" align = "right" valign = "top" > static const std::string  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#ad18593456dbc3c4157ce986f55de6795" > kDefaultLogFileName</ a ></ td ></ tr >
< tr class = "separator:ad18593456dbc3c4157ce986f55de6795" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
</ table >< table class = "memberdecls" >
< tr class = "heading" >< td colspan = "2" >< h2 class = "groupheader" >< a id = "pro-methods" name = "pro-methods" ></ a >
Protected Member Functions</ h2 ></ td ></ tr >
< tr class = "memitem:a6716234bd4d74db99c8f7670370778b1" id = "r_a6716234bd4d74db99c8f7670370778b1" >< td class = "memItemLeft" align = "right" valign = "top" >< a id = "a6716234bd4d74db99c8f7670370778b1" name = "a6716234bd4d74db99c8f7670370778b1" ></ a >
void  </ td >< td class = "memItemRight" valign = "bottom" >< b > _flush</ b > ()</ td ></ tr >
< tr class = "separator:a6716234bd4d74db99c8f7670370778b1" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
</ table >< table class = "memberdecls" >
< tr class = "heading" >< td colspan = "2" >< h2 class = "groupheader" >< a id = "pro-static-methods" name = "pro-static-methods" ></ a >
Static Protected Member Functions</ h2 ></ td ></ tr >
< tr class = "memitem:aaf7dabfef1f0c698bd8888ea0fb23ee0" id = "r_aaf7dabfef1f0c698bd8888ea0fb23ee0" >< td class = "memItemLeft" align = "right" valign = "top" >< a id = "aaf7dabfef1f0c698bd8888ea0fb23ee0" name = "aaf7dabfef1f0c698bd8888ea0fb23ee0" ></ a >
static < a class = "el" href = "classULogger.html" > ULogger</ a > *  </ td >< td class = "memItemRight" valign = "bottom" >< b > getInstance</ b > ()</ td ></ tr >
< tr class = "separator:aaf7dabfef1f0c698bd8888ea0fb23ee0" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
</ table >< table class = "memberdecls" >
< tr class = "heading" >< td colspan = "2" >< h2 class = "groupheader" >< a id = "pro-static-attribs" name = "pro-static-attribs" ></ a >
Static Protected Attributes</ h2 ></ td ></ tr >
< tr class = "memitem:a16eb706a3bade35c54a873c3e9760ca2" id = "r_a16eb706a3bade35c54a873c3e9760ca2" >< td class = "memItemLeft" align = "right" valign = "top" > static std::string  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#a16eb706a3bade35c54a873c3e9760ca2" > logFileName_</ a ></ td ></ tr >
< tr class = "separator:a16eb706a3bade35c54a873c3e9760ca2" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
< tr class = "memitem:ac2a625723eeac9d448972377508cc1f2" id = "r_ac2a625723eeac9d448972377508cc1f2" >< td class = "memItemLeft" align = "right" valign = "top" > static bool  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#ac2a625723eeac9d448972377508cc1f2" > append_</ a ></ td ></ tr >
< tr class = "separator:ac2a625723eeac9d448972377508cc1f2" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
</ table >< table class = "memberdecls" >
< tr class = "heading" >< td colspan = "2" >< h2 class = "groupheader" >< a id = "friends" name = "friends" ></ a >
Friends</ h2 ></ td ></ tr >
< tr class = "memitem:ad29324f53883ee0b796452e6c4e5db34" id = "r_ad29324f53883ee0b796452e6c4e5db34" >< td class = "memItemLeft" align = "right" valign = "top" > class  </ td >< td class = "memItemRight" valign = "bottom" >< a class = "el" href = "classULogger.html#ad29324f53883ee0b796452e6c4e5db34" > UDestroyer< ULogger > </ a ></ td ></ tr >
< tr class = "separator:ad29324f53883ee0b796452e6c4e5db34" >< td class = "memSeparator" colspan = "2" >   </ td ></ tr >
</ table >
< a name = "details" id = "details" ></ a >< h2 class = "groupheader" > Detailed Description</ h2 >
< div class = "textblock" >< p > This class is used to log messages with time on a console, in a file and/or with an event. At the start of the application, call < a class = "el" href = "classULogger.html#a0fe73ce7c193ff399bca16b8d4d4cabb" > ULogger::setType()</ a > with the type of the logger you want (see < a class = "el" href = "classULogger.html#aab74fc95f6494a3a2137d9094fe100d8" > ULogger::Type</ a > , the type of the output can be changed at the run-time.). To use it, simply call the convenient macros < a class = "el" href = "ULogger_8h.html#a9104cb408bf9019db2a2c4476835db4a" > UDEBUG()</ a > , < a class = "el" href = "ULogger_8h.html#a5b63c9a1441181723754c0c6084231a8" > UINFO()</ a > , < a class = "el" href = "ULogger_8h.html#ab5a739ad9340455e46eaa570f8223d9a" > UWARN()</ a > , < a class = "el" href = "ULogger_8h.html#a1249ddbc4c9cc43be53048c08dda129b" > UERROR()</ a > , < a class = "el" href = "ULogger_8h.html#aabc10368a622911d56a4dd5a4b461385" > UFATAL()</ a > depending of the severity of the message. You can disable some messages by setting the logger level < a class = "el" href = "classULogger.html#ad8589bdaabddc1e9a260b890b1cf312e" > ULogger::setLevel()</ a > to severity you want, defined by < a class = "el" href = "classULogger.html#a4f71cd491aa60029eb6ea4bf79c06218" > ULogger::Level</ a > . A fatal message will make the application to exit, printing the message on console (whatever the logger type) and posting a < a class = "el" href = "classULogEvent.html" > ULogEvent</ a > (synchronously... see < a class = "el" href = "classUEventsManager.html#a956353a8006abe2edb0be2e1fc1846cb" > UEventsManager::post()</ a > ) before exiting.</ p >
< p > The display of the logged messages can be modified:</ p >< ul >
< li > If you don't want the level label, set < a class = "el" href = "classULogger.html#a4a97457a98a02f60580e6f3c93f83d7a" > ULogger::setPrintLevel()</ a > to false.</ li >
< li > If you don't want the time label, set < a class = "el" href = "classULogger.html#a2142b47257ecf1f2561afa8353eae411" > ULogger::setPrintTime()</ a > to false.</ li >
< li > If you don't want the end of line added, set < a class = "el" href = "classULogger.html#aa7cd59599601cdb214c6cb4df103dca0" > ULogger::setPrintEndline()</ a > to false.</ li >
< li > If you don't the full path of the message, set < a class = "el" href = "classULogger.html#a2784b7a88339964e2a1c2b3436245bfc" > ULogger::setPrintWhereFullPath()</ a > to false.</ li >
< li > If you don't the path of the message, set < a class = "el" href = "classULogger.html#af5a2e0f11770fcb457c1859c9f8b5ec3" > ULogger::setPrintWhere()</ a > to false.</ li >
</ ul >
< p > When using a file logger (kTypeLogger), it can be useful in some application to buffer messages before writing them to hard drive (avoiding hard drive latencies). You can set < a class = "el" href = "classULogger.html#ab981daf077b8afbf49c7bd185aa3b273" > ULogger::setBuffered()</ a > to true to do that. When the buffered messages will be written to file on appllciation exit (< a class = "el" href = "classULogger.html" > ULogger</ a > destructor) or when < a class = "el" href = "classULogger.html#a701ad6b99c9040cf3b5d47711e9f6d6a" > ULogger::flush()</ a > is called.</ p >
< p > If you want the application to exit on a lower severity level than kFatal, you can set ULogger::setExitLevel() to any < a class = "el" href = "classULogger.html#aab74fc95f6494a3a2137d9094fe100d8" > ULogger::Type</ a > you want.</ p >
< p > Example: </ p >< div class = "fragment" >< div class = "line" >< span class = "preprocessor" > #include < < a class = "code" href = "ULogger_8h.html" > utilite/ULogger.h</ a > > </ span ></ div >
< div class = "line" >< span class = "keywordtype" > int</ span > main(< span class = "keywordtype" > int</ span > argc, < span class = "keywordtype" > char</ span > * argv[])</ div >
< div class = "line" > {</ div >
< div class = "line" > < span class = "comment" > // Set the logger type. The choices are kTypeConsole,</ span ></ div >
< div class = "line" > < span class = "comment" > // kTypeFile or kTypeNoLog (nothing is logged).</ span ></ div >
< div class = "line" > < a class = "code hl_function" href = "classULogger.html#a0fe73ce7c193ff399bca16b8d4d4cabb" > ULogger::setType</ a > (ULogger::kTypeConsole);</ div >
< div class = "line" > </ div >
< div class = "line" > < span class = "comment" > // Set the logger severity level (kDebug, kInfo, kWarning, kError, kFatal).</ span ></ div >
< div class = "line" > < span class = "comment" > // All log entries under the severity level are not logged. Here,</ span ></ div >
< div class = "line" > < span class = "comment" > // only debug messages are not logged.</ span ></ div >
< div class = "line" > < a class = "code hl_function" href = "classULogger.html#ad8589bdaabddc1e9a260b890b1cf312e" > ULogger::setLevel</ a > (ULogger::kInfo);</ div >
< div class = "line" > </ div >
< div class = "line" > < span class = "comment" > // Use a predefined Macro to easy logging. It can be</ span ></ div >
< div class = "line" > < span class = "comment" > // called anywhere in the application as the logger is</ span ></ div >
< div class = "line" > < span class = "comment" > // a Singleton.</ span ></ div >
< div class = "line" > < a class = "code hl_define" href = "ULogger_8h.html#a9104cb408bf9019db2a2c4476835db4a" > UDEBUG</ a > (< span class = "stringliteral" > " This message won' t be logged because the " </ span ></ div >
< div class = "line" > < span class = "stringliteral" > " severity level of the logger is set to kInfo." </ span > );</ div >
< div class = "line" > </ div >
< div class = "line" > < a class = "code hl_define" href = "ULogger_8h.html#a5b63c9a1441181723754c0c6084231a8" > UINFO</ a > (< span class = "stringliteral" > " This message is logged." </ span > );</ div >
< div class = "line" > </ div >
< div class = "line" > < a class = "code hl_define" href = "ULogger_8h.html#ab5a739ad9340455e46eaa570f8223d9a" > UWARN</ a > (< span class = "stringliteral" > " A warning message..." </ span > );</ div >
< div class = "line" > </ div >
< div class = "line" > < a class = "code hl_define" href = "ULogger_8h.html#a1249ddbc4c9cc43be53048c08dda129b" > UERROR</ a > (< span class = "stringliteral" > " An error message with code %d." </ span > , 42);</ div >
< div class = "line" > </ div >
< div class = "line" > < span class = "keywordflow" > return</ span > 0;</ div >
< div class = "line" > }</ div >
< div class = "ttc" id = "aULogger_8h_html" >< div class = "ttname" >< a href = "ULogger_8h.html" > ULogger.h</ a ></ div >< div class = "ttdoc" > ULogger class and convenient macros.</ div ></ div >
< div class = "ttc" id = "aULogger_8h_html_a1249ddbc4c9cc43be53048c08dda129b" >< div class = "ttname" >< a href = "ULogger_8h.html#a1249ddbc4c9cc43be53048c08dda129b" > UERROR</ a ></ div >< div class = "ttdeci" > #define UERROR(...)</ div >< div class = "ttdef" >< b > Definition</ b > < a href = "ULogger_8h_source.html#l00062" > ULogger.h:62</ a ></ div ></ div >
< div class = "ttc" id = "aULogger_8h_html_a5b63c9a1441181723754c0c6084231a8" >< div class = "ttname" >< a href = "ULogger_8h.html#a5b63c9a1441181723754c0c6084231a8" > UINFO</ a ></ div >< div class = "ttdeci" > #define UINFO(...)</ div >< div class = "ttdef" >< b > Definition</ b > < a href = "ULogger_8h_source.html#l00060" > ULogger.h:60</ a ></ div ></ div >
< div class = "ttc" id = "aULogger_8h_html_a9104cb408bf9019db2a2c4476835db4a" >< div class = "ttname" >< a href = "ULogger_8h.html#a9104cb408bf9019db2a2c4476835db4a" > UDEBUG</ a ></ div >< div class = "ttdeci" > #define UDEBUG(...)</ div >< div class = "ttdef" >< b > Definition</ b > < a href = "ULogger_8h_source.html#l00059" > ULogger.h:59</ a ></ div ></ div >
< div class = "ttc" id = "aULogger_8h_html_ab5a739ad9340455e46eaa570f8223d9a" >< div class = "ttname" >< a href = "ULogger_8h.html#ab5a739ad9340455e46eaa570f8223d9a" > UWARN</ a ></ div >< div class = "ttdeci" > #define UWARN(...)</ div >< div class = "ttdef" >< b > Definition</ b > < a href = "ULogger_8h_source.html#l00061" > ULogger.h:61</ a ></ div ></ div >
< div class = "ttc" id = "aclassULogger_html_a0fe73ce7c193ff399bca16b8d4d4cabb" >< div class = "ttname" >< a href = "classULogger.html#a0fe73ce7c193ff399bca16b8d4d4cabb" > ULogger::setType</ a ></ div >< div class = "ttdeci" > static void setType(Type type, const std::string & fileName=kDefaultLogFileName, bool append=true)</ div ></ div >
< div class = "ttc" id = "aclassULogger_html_ad8589bdaabddc1e9a260b890b1cf312e" >< div class = "ttname" >< a href = "classULogger.html#ad8589bdaabddc1e9a260b890b1cf312e" > ULogger::setLevel</ a ></ div >< div class = "ttdeci" > static void setLevel(ULogger::Level level)</ div >< div class = "ttdef" >< b > Definition</ b > < a href = "ULogger_8h_source.html#l00343" > ULogger.h:343</ a ></ div ></ div >
</ div > <!-- fragment --> < p > Output: </ p >< div class = "fragment" >< div class = "line" > [ INFO] (2010-09-25 18:08:20) main.cpp:18::main() This message is logged.</ div >
< div class = "line" > [ WARN] (2010-09-25 18:08:20) main.cpp:20::main() A warning message...</ div >
< div class = "line" > [ERROR] (2010-09-25 18:08:20) main.cpp:22::main() An error message with code 42.</ div >
</ div > <!-- fragment --> < p > Another useful form of the < a class = "el" href = "classULogger.html" > ULogger</ a > is to use it with the < a class = "el" href = "classUTimer.html" > UTimer</ a > class. Here an example: </ p >< div class = "fragment" >< div class = "line" >< span class = "preprocessor" > #include < < a class = "code" href = "ULogger_8h.html" > utilite/ULogger.h</ a > > </ span ></ div >
< div class = "line" >< span class = "preprocessor" > #include < utilite/UTimer.h> </ span ></ div >
< div class = "line" > ...</ div >
< div class = "line" > UTimer timer; < span class = "comment" > // automatically starts</ span ></ div >
< div class = "line" >< span class = "comment" > // do some works for part A</ span ></ div >
< div class = "line" >< a class = "code hl_define" href = "ULogger_8h.html#a5b63c9a1441181723754c0c6084231a8" > UINFO</ a > (< span class = "stringliteral" > " Time for part A = %f s" </ span > , timer.ticks());</ div >
< div class = "line" >< span class = "comment" > // do some works for part B</ span ></ div >
< div class = "line" >< a class = "code hl_define" href = "ULogger_8h.html#a5b63c9a1441181723754c0c6084231a8" > UINFO</ a > (< span class = "stringliteral" > " Time for part B = %f s" </ span > , timer.ticks());</ div >
< div class = "line" >< span class = "comment" > // do some works for part C</ span ></ div >
< div class = "line" >< a class = "code hl_define" href = "ULogger_8h.html#a5b63c9a1441181723754c0c6084231a8" > UINFO</ a > (< span class = "stringliteral" > " Time for part C = %f s" </ span > , timer.ticks());</ div >
< div class = "line" > ...</ div >
</ div > <!-- fragment --> < dl class = "section see" >< dt > See also</ dt >< dd >< a class = "el" href = "classULogger.html#a0fe73ce7c193ff399bca16b8d4d4cabb" > setType()</ a > </ dd >
< dd >
< a class = "el" href = "classULogger.html#ad8589bdaabddc1e9a260b890b1cf312e" > setLevel()</ a > </ dd >
< dd >
< a class = "el" href = "ULogger_8h.html#a9104cb408bf9019db2a2c4476835db4a" > UDEBUG()</ a > , < a class = "el" href = "ULogger_8h.html#a5b63c9a1441181723754c0c6084231a8" > UINFO()</ a > , < a class = "el" href = "ULogger_8h.html#ab5a739ad9340455e46eaa570f8223d9a" > UWARN()</ a > , < a class = "el" href = "ULogger_8h.html#a1249ddbc4c9cc43be53048c08dda129b" > UERROR()</ a > , < a class = "el" href = "ULogger_8h.html#aabc10368a622911d56a4dd5a4b461385" > UFATAL()</ a > </ dd ></ dl >
< p class = "definition" > Definition at line < a class = "el" href = "ULogger_8h_source.html#l00229" > 229</ a > of file < a class = "el" href = "ULogger_8h_source.html" > ULogger.h</ a > .</ p >
</ div >< h2 class = "groupheader" > Member Enumeration Documentation</ h2 >
< a id = "aab74fc95f6494a3a2137d9094fe100d8" name = "aab74fc95f6494a3a2137d9094fe100d8" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#aab74fc95f6494a3a2137d9094fe100d8" > ◆  </ a ></ span > Type</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > enum < a class = "el" href = "classULogger.html#aab74fc95f6494a3a2137d9094fe100d8" > ULogger::Type</ a ></ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Loggers available: </ p >< div class = "fragment" >< div class = "line" > kTypeNoLog, kTypeConsole, kTypeFile</ div >
</ div > <!-- fragment -->
< p class = "definition" > Definition at line < a class = "el" href = "ULogger_8h_source.html#l00244" > 244</ a > of file < a class = "el" href = "ULogger_8h_source.html" > ULogger.h</ a > .</ p >
</ div >
</ div >
< a id = "a4f71cd491aa60029eb6ea4bf79c06218" name = "a4f71cd491aa60029eb6ea4bf79c06218" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a4f71cd491aa60029eb6ea4bf79c06218" > ◆  </ a ></ span > Level</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > enum < a class = "el" href = "classULogger.html#a4f71cd491aa60029eb6ea4bf79c06218" > ULogger::Level</ a ></ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Logger levels, from lowest severity to highest: </ p >< div class = "fragment" >< div class = "line" > kDebug, kInfo, kWarning, kError, kFatal</ div >
</ div > <!-- fragment -->
< p class = "definition" > Definition at line < a class = "el" href = "ULogger_8h_source.html#l00252" > 252</ a > of file < a class = "el" href = "ULogger_8h_source.html" > ULogger.h</ a > .</ p >
</ div >
</ div >
< h2 class = "groupheader" > Constructor & Destructor Documentation</ h2 >
< a id = "adeb20b017790c83aafbb0f4590a7b070" name = "adeb20b017790c83aafbb0f4590a7b070" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#adeb20b017790c83aafbb0f4590a7b070" > ◆  </ a ></ span > ULogger()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > ULogger::ULogger </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > inline</ span >< span class = "mlabel" > protected</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p class = "definition" > Definition at line < a class = "el" href = "ULogger_8h_source.html#l00422" > 422</ a > of file < a class = "el" href = "ULogger_8h_source.html" > ULogger.h</ a > .</ p >
</ div >
</ div >
< h2 class = "groupheader" > Member Function Documentation</ h2 >
< a id = "a0fe73ce7c193ff399bca16b8d4d4cabb" name = "a0fe73ce7c193ff399bca16b8d4d4cabb" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a0fe73ce7c193ff399bca16b8d4d4cabb" > ◆  </ a ></ span > setType()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static void ULogger::setType </ td >
< td > (</ td >
< td class = "paramtype" >< a class = "el" href = "classULogger.html#aab74fc95f6494a3a2137d9094fe100d8" > Type</ a >   </ td >
< td class = "paramname" >< em > type</ em > , </ td >
</ tr >
< tr >
< td class = "paramkey" ></ td >
< td ></ td >
< td class = "paramtype" > const std::string &  </ td >
< td class = "paramname" >< em > fileName</ em > = < code >< a class = "el" href = "classULogger.html#ad18593456dbc3c4157ce986f55de6795" > kDefaultLogFileName</ a ></ code > , </ td >
</ tr >
< tr >
< td class = "paramkey" ></ td >
< td ></ td >
< td class = "paramtype" > bool  </ td >
< td class = "paramname" >< em > append</ em > = < code > true</ code >   </ td >
</ tr >
< tr >
< td ></ td >
< td > )</ td >
< td ></ td >< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Set the type of the logger. When using kTypeFile, the parameter "fileName" would be changed (default is "./ULog.txt"), and optionally "append" if we want the logger to append messages to file or to overwrite the file. </ p >< dl class = "params" >< dt > Parameters</ dt >< dd >
< table class = "params" >
< tr >< td class = "paramname" > type</ td >< td > the < a class = "el" href = "classULogger.html#aab74fc95f6494a3a2137d9094fe100d8" > ULogger::Type</ a > of the logger. </ td ></ tr >
< tr >< td class = "paramname" > fileName</ td >< td > file name used with a file logger type. </ td ></ tr >
< tr >< td class = "paramname" > append</ td >< td > if true, the file isn't overwritten, otherwise it is.</ td ></ tr >
</ table >
</ dd >
</ dl >
< p > TODO : Can it be useful to have 2 or more types at the same time ? Print in console and file at the same time. </ p >
</ div >
</ div >
< a id = "ad0cd4e8b5360b7b4e0659769e30975b3" name = "ad0cd4e8b5360b7b4e0659769e30975b3" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#ad0cd4e8b5360b7b4e0659769e30975b3" > ◆  </ a ></ span > type()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static < a class = "el" href = "classULogger.html#aab74fc95f6494a3a2137d9094fe100d8" > Type</ a > ULogger::type </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > inline</ span >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p class = "definition" > Definition at line < a class = "el" href = "ULogger_8h_source.html#l00266" > 266</ a > of file < a class = "el" href = "ULogger_8h_source.html" > ULogger.h</ a > .</ p >
</ div >
</ div >
< a id = "a2142b47257ecf1f2561afa8353eae411" name = "a2142b47257ecf1f2561afa8353eae411" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a2142b47257ecf1f2561afa8353eae411" > ◆  </ a ></ span > setPrintTime()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static void ULogger::setPrintTime </ td >
< td > (</ td >
< td class = "paramtype" > bool  </ td >
< td class = "paramname" >< em > printTime</ em ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > inline</ span >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Print time: default true. </ p >< dl class = "params" >< dt > Parameters</ dt >< dd >
< table class = "params" >
< tr >< td class = "paramname" > printTime</ td >< td > true to print time, otherwise set to false. </ td ></ tr >
</ table >
</ dd >
</ dl >
< p class = "definition" > Definition at line < a class = "el" href = "ULogger_8h_source.html#l00273" > 273</ a > of file < a class = "el" href = "ULogger_8h_source.html" > ULogger.h</ a > .</ p >
</ div >
</ div >
< a id = "aecc02abdd0c8612c16051071b347a4fc" name = "aecc02abdd0c8612c16051071b347a4fc" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#aecc02abdd0c8612c16051071b347a4fc" > ◆  </ a ></ span > isPrintTime()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static bool ULogger::isPrintTime </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > inline</ span >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p class = "definition" > Definition at line < a class = "el" href = "ULogger_8h_source.html#l00274" > 274</ a > of file < a class = "el" href = "ULogger_8h_source.html" > ULogger.h</ a > .</ p >
</ div >
</ div >
< a id = "a4a97457a98a02f60580e6f3c93f83d7a" name = "a4a97457a98a02f60580e6f3c93f83d7a" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a4a97457a98a02f60580e6f3c93f83d7a" > ◆  </ a ></ span > setPrintLevel()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static void ULogger::setPrintLevel </ td >
< td > (</ td >
< td class = "paramtype" > bool  </ td >
< td class = "paramname" >< em > printLevel</ em ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > inline</ span >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Print level: default true. </ p >< dl class = "params" >< dt > Parameters</ dt >< dd >
< table class = "params" >
< tr >< td class = "paramname" > printLevel</ td >< td > true to print level, otherwise set to false. </ td ></ tr >
</ table >
</ dd >
</ dl >
< p class = "definition" > Definition at line < a class = "el" href = "ULogger_8h_source.html#l00280" > 280</ a > of file < a class = "el" href = "ULogger_8h_source.html" > ULogger.h</ a > .</ p >
</ div >
</ div >
< a id = "a73571f04136247a6772a458da19b7722" name = "a73571f04136247a6772a458da19b7722" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a73571f04136247a6772a458da19b7722" > ◆  </ a ></ span > isPrintLevel()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static bool ULogger::isPrintLevel </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > inline</ span >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p class = "definition" > Definition at line < a class = "el" href = "ULogger_8h_source.html#l00281" > 281</ a > of file < a class = "el" href = "ULogger_8h_source.html" > ULogger.h</ a > .</ p >
</ div >
</ div >
< a id = "aa7cd59599601cdb214c6cb4df103dca0" name = "aa7cd59599601cdb214c6cb4df103dca0" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#aa7cd59599601cdb214c6cb4df103dca0" > ◆  </ a ></ span > setPrintEndline()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static void ULogger::setPrintEndline </ td >
< td > (</ td >
< td class = "paramtype" > bool  </ td >
< td class = "paramname" >< em > printEndline</ em ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > inline</ span >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Print end of line: default true. </ p >< dl class = "params" >< dt > Parameters</ dt >< dd >
< table class = "params" >
< tr >< td class = "paramname" > printLevel</ td >< td > true to print end of line, otherwise set to false. </ td ></ tr >
</ table >
</ dd >
</ dl >
< p class = "definition" > Definition at line < a class = "el" href = "ULogger_8h_source.html#l00287" > 287</ a > of file < a class = "el" href = "ULogger_8h_source.html" > ULogger.h</ a > .</ p >
</ div >
</ div >
< a id = "ac7ed78359b6786401e09b5b347cc31d9" name = "ac7ed78359b6786401e09b5b347cc31d9" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#ac7ed78359b6786401e09b5b347cc31d9" > ◆  </ a ></ span > isPrintEndLine()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static bool ULogger::isPrintEndLine </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > inline</ span >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p class = "definition" > Definition at line < a class = "el" href = "ULogger_8h_source.html#l00288" > 288</ a > of file < a class = "el" href = "ULogger_8h_source.html" > ULogger.h</ a > .</ p >
</ div >
</ div >
< a id = "a773d95354adfe1fd1296f3b2f09668d3" name = "a773d95354adfe1fd1296f3b2f09668d3" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a773d95354adfe1fd1296f3b2f09668d3" > ◆  </ a ></ span > setPrintColored()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static void ULogger::setPrintColored </ td >
< td > (</ td >
< td class = "paramtype" > bool  </ td >
< td class = "paramname" >< em > printColored</ em ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > inline</ span >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Print text with color: default true. Dark green for Debug, white for Info, yellow for Warning, red for Error and Fatal. </ p >< dl class = "params" >< dt > Parameters</ dt >< dd >
< table class = "params" >
< tr >< td class = "paramname" > printColored</ td >< td > true to print text with color, otherwise set to false. </ td ></ tr >
</ table >
</ dd >
</ dl >
< p class = "definition" > Definition at line < a class = "el" href = "ULogger_8h_source.html#l00295" > 295</ a > of file < a class = "el" href = "ULogger_8h_source.html" > ULogger.h</ a > .</ p >
</ div >
</ div >
< a id = "a0dceaa4688338ea7f055f9fffdc4f9f3" name = "a0dceaa4688338ea7f055f9fffdc4f9f3" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a0dceaa4688338ea7f055f9fffdc4f9f3" > ◆  </ a ></ span > isPrintColored()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static bool ULogger::isPrintColored </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > inline</ span >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p class = "definition" > Definition at line < a class = "el" href = "ULogger_8h_source.html#l00296" > 296</ a > of file < a class = "el" href = "ULogger_8h_source.html" > ULogger.h</ a > .</ p >
</ div >
</ div >
< a id = "af5a2e0f11770fcb457c1859c9f8b5ec3" name = "af5a2e0f11770fcb457c1859c9f8b5ec3" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#af5a2e0f11770fcb457c1859c9f8b5ec3" > ◆  </ a ></ span > setPrintWhere()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static void ULogger::setPrintWhere </ td >
< td > (</ td >
< td class = "paramtype" > bool  </ td >
< td class = "paramname" >< em > printWhere</ em ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > inline</ span >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Print where is this message in source code: default true. </ p >< dl class = "params" >< dt > Parameters</ dt >< dd >
< table class = "params" >
< tr >< td class = "paramname" > printWhere</ td >< td > true to print where, otherwise set to false. </ td ></ tr >
</ table >
</ dd >
</ dl >
< p class = "definition" > Definition at line < a class = "el" href = "ULogger_8h_source.html#l00302" > 302</ a > of file < a class = "el" href = "ULogger_8h_source.html" > ULogger.h</ a > .</ p >
</ div >
</ div >
< a id = "ae2dc7028109e2fbe064b4435a757ad4a" name = "ae2dc7028109e2fbe064b4435a757ad4a" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#ae2dc7028109e2fbe064b4435a757ad4a" > ◆  </ a ></ span > isPrintWhere()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static bool ULogger::isPrintWhere </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > inline</ span >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p class = "definition" > Definition at line < a class = "el" href = "ULogger_8h_source.html#l00303" > 303</ a > of file < a class = "el" href = "ULogger_8h_source.html" > ULogger.h</ a > .</ p >
</ div >
</ div >
< a id = "a071b4484d0020a87760bbe282175724a" name = "a071b4484d0020a87760bbe282175724a" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a071b4484d0020a87760bbe282175724a" > ◆  </ a ></ span > setPrintThreadId()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static void ULogger::setPrintThreadId </ td >
< td > (</ td >
< td class = "paramtype" > bool  </ td >
< td class = "paramname" >< em > printThreadId</ em ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > inline</ span >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Print thread ID: default false. </ p >< dl class = "params" >< dt > Parameters</ dt >< dd >
< table class = "params" >
< tr >< td class = "paramname" > printThreadId</ td >< td > true to print where, otherwise set to false. </ td ></ tr >
</ table >
</ dd >
</ dl >
< p class = "definition" > Definition at line < a class = "el" href = "ULogger_8h_source.html#l00309" > 309</ a > of file < a class = "el" href = "ULogger_8h_source.html" > ULogger.h</ a > .</ p >
</ div >
</ div >
< a id = "acc84c42e0b56cf0712323d0578ee0665" name = "acc84c42e0b56cf0712323d0578ee0665" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#acc84c42e0b56cf0712323d0578ee0665" > ◆  </ a ></ span > isPrintThreadId()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static bool ULogger::isPrintThreadId </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > inline</ span >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p class = "definition" > Definition at line < a class = "el" href = "ULogger_8h_source.html#l00310" > 310</ a > of file < a class = "el" href = "ULogger_8h_source.html" > ULogger.h</ a > .</ p >
</ div >
</ div >
< a id = "a2784b7a88339964e2a1c2b3436245bfc" name = "a2784b7a88339964e2a1c2b3436245bfc" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a2784b7a88339964e2a1c2b3436245bfc" > ◆  </ a ></ span > setPrintWhereFullPath()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static void ULogger::setPrintWhereFullPath </ td >
< td > (</ td >
< td class = "paramtype" > bool  </ td >
< td class = "paramname" >< em > printWhereFullPath</ em ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > inline</ span >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Print the full path: default true. < a class = "el" href = "classULogger.html#af5a2e0f11770fcb457c1859c9f8b5ec3" > ULogger::setPrintWhere()</ a > must be true to have path printed. </ p >< dl class = "params" >< dt > Parameters</ dt >< dd >
< table class = "params" >
< tr >< td class = "paramname" > printWhereFullPath</ td >< td > true to print the full path, otherwise set to false. </ td ></ tr >
</ table >
</ dd >
</ dl >
< p class = "definition" > Definition at line < a class = "el" href = "ULogger_8h_source.html#l00316" > 316</ a > of file < a class = "el" href = "ULogger_8h_source.html" > ULogger.h</ a > .</ p >
</ div >
</ div >
< a id = "aebe1ef1c4044765108c216ee2fd38adf" name = "aebe1ef1c4044765108c216ee2fd38adf" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#aebe1ef1c4044765108c216ee2fd38adf" > ◆  </ a ></ span > isPrintWhereFullPath()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static bool ULogger::isPrintWhereFullPath </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > inline</ span >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p class = "definition" > Definition at line < a class = "el" href = "ULogger_8h_source.html#l00317" > 317</ a > of file < a class = "el" href = "ULogger_8h_source.html" > ULogger.h</ a > .</ p >
</ div >
</ div >
< a id = "ab981daf077b8afbf49c7bd185aa3b273" name = "ab981daf077b8afbf49c7bd185aa3b273" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#ab981daf077b8afbf49c7bd185aa3b273" > ◆  </ a ></ span > setBuffered()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static void ULogger::setBuffered </ td >
< td > (</ td >
< td class = "paramtype" > bool  </ td >
< td class = "paramname" >< em > buffered</ em ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Set is the logger buffers messages, default false. When true, the messages are buffered until the application is closed or < a class = "el" href = "classULogger.html#a701ad6b99c9040cf3b5d47711e9f6d6a" > ULogger::flush()</ a > is called.</ p >
< p > Note that if logging to a file, flush doesn't mean that messages are written to file right away. To write everything on disk, set logger type to kTypeNoLog.</ p >
< dl class = "section see" >< dt > See also</ dt >< dd >< a class = "el" href = "classULogger.html#a701ad6b99c9040cf3b5d47711e9f6d6a" > ULogger::flush()</ a > </ dd ></ dl >
< dl class = "params" >< dt > Parameters</ dt >< dd >
< table class = "params" >
< tr >< td class = "paramname" > buffered</ td >< td > true to buffer messages, otherwise set to false. </ td ></ tr >
</ table >
</ dd >
</ dl >
</ div >
</ div >
< a id = "afe27125911c02fc1a0e24b080d1301b8" name = "afe27125911c02fc1a0e24b080d1301b8" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#afe27125911c02fc1a0e24b080d1301b8" > ◆  </ a ></ span > isBuffered()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static bool ULogger::isBuffered </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > inline</ span >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p class = "definition" > Definition at line < a class = "el" href = "ULogger_8h_source.html#l00330" > 330</ a > of file < a class = "el" href = "ULogger_8h_source.html" > ULogger.h</ a > .</ p >
</ div >
</ div >
< a id = "ad8589bdaabddc1e9a260b890b1cf312e" name = "ad8589bdaabddc1e9a260b890b1cf312e" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#ad8589bdaabddc1e9a260b890b1cf312e" > ◆  </ a ></ span > setLevel()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static void ULogger::setLevel </ td >
< td > (</ td >
< td class = "paramtype" >< a class = "el" href = "classULogger.html#a4f71cd491aa60029eb6ea4bf79c06218" > ULogger::Level</ a >   </ td >
< td class = "paramname" >< em > level</ em ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > inline</ span >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Set logger level: default kInfo. All messages over the severity set are printed, other are ignored. The severity is from the lowest to highest:</ p >< ul >
< li > kDebug</ li >
< li > kInfo</ li >
< li > kWarning</ li >
< li > kError</ li >
< li > kFatal < dl class = "params" >< dt > Parameters</ dt >< dd >
< table class = "params" >
< tr >< td class = "paramname" > level</ td >< td > the minimum level of the messages printed. </ td ></ tr >
</ table >
</ dd >
</ dl >
</ li >
</ ul >
< p class = "definition" > Definition at line < a class = "el" href = "ULogger_8h_source.html#l00343" > 343</ a > of file < a class = "el" href = "ULogger_8h_source.html" > ULogger.h</ a > .</ p >
</ div >
</ div >
< a id = "a77555a4c4a3ed480fa408573aabde639" name = "a77555a4c4a3ed480fa408573aabde639" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a77555a4c4a3ed480fa408573aabde639" > ◆  </ a ></ span > level()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static < a class = "el" href = "classULogger.html#a4f71cd491aa60029eb6ea4bf79c06218" > ULogger::Level</ a > ULogger::level </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > inline</ span >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p class = "definition" > Definition at line < a class = "el" href = "ULogger_8h_source.html#l00344" > 344</ a > of file < a class = "el" href = "ULogger_8h_source.html" > ULogger.h</ a > .</ p >
</ div >
</ div >
< a id = "ac0705dc7bc5da07ce27351eb6519e942" name = "ac0705dc7bc5da07ce27351eb6519e942" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#ac0705dc7bc5da07ce27351eb6519e942" > ◆  </ a ></ span > setEventLevel()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static void ULogger::setEventLevel </ td >
< td > (</ td >
< td class = "paramtype" >< a class = "el" href = "classULogger.html#a4f71cd491aa60029eb6ea4bf79c06218" > ULogger::Level</ a >   </ td >
< td class = "paramname" >< em > eventSentLevel</ em ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > inline</ span >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > An < a class = "el" href = "classULogEvent.html" > ULogEvent</ a > is sent on each message logged at the specified level. Note : On message with level > = exitLevel, the event is sent synchronously (see < a class = "el" href = "classUEventsManager.html#a956353a8006abe2edb0be2e1fc1846cb" > UEventsManager::post()</ a > ). </ p >< dl class = "section see" >< dt > See also</ dt >< dd >< a class = "el" href = "classULogEvent.html" > ULogEvent</ a > </ dd >
< dd >
setExitLevel() </ dd ></ dl >
< p class = "definition" > Definition at line < a class = "el" href = "ULogger_8h_source.html#l00352" > 352</ a > of file < a class = "el" href = "ULogger_8h_source.html" > ULogger.h</ a > .</ p >
</ div >
</ div >
< a id = "aab99a62be56d6424dc8a7ebbdcef4115" name = "aab99a62be56d6424dc8a7ebbdcef4115" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#aab99a62be56d6424dc8a7ebbdcef4115" > ◆  </ a ></ span > eventLevel()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static < a class = "el" href = "classULogger.html#a4f71cd491aa60029eb6ea4bf79c06218" > ULogger::Level</ a > ULogger::eventLevel </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > inline</ span >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p class = "definition" > Definition at line < a class = "el" href = "ULogger_8h_source.html#l00353" > 353</ a > of file < a class = "el" href = "ULogger_8h_source.html" > ULogger.h</ a > .</ p >
</ div >
</ div >
< a id = "ada44d4afa869f1f9eab174a28c8a1acd" name = "ada44d4afa869f1f9eab174a28c8a1acd" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#ada44d4afa869f1f9eab174a28c8a1acd" > ◆  </ a ></ span > setTreadIdFilter()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static void ULogger::setTreadIdFilter </ td >
< td > (</ td >
< td class = "paramtype" > const std::set< unsigned long > &  </ td >
< td class = "paramname" >< em > ids</ em ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > inline</ span >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > If not empty, only show log messages from threads included in this list. </ p >
< p class = "definition" > Definition at line < a class = "el" href = "ULogger_8h_source.html#l00358" > 358</ a > of file < a class = "el" href = "ULogger_8h_source.html" > ULogger.h</ a > .</ p >
</ div >
</ div >
< a id = "ae11916892c4ce5681bb46f286eeecc1b" name = "ae11916892c4ce5681bb46f286eeecc1b" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#ae11916892c4ce5681bb46f286eeecc1b" > ◆  </ a ></ span > getTreadIdFilter()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static const std::set< unsigned long > & ULogger::getTreadIdFilter </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > inline</ span >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p class = "definition" > Definition at line < a class = "el" href = "ULogger_8h_source.html#l00360" > 360</ a > of file < a class = "el" href = "ULogger_8h_source.html" > ULogger.h</ a > .</ p >
</ div >
</ div >
< a id = "a9e0fa0a0e32b03f89d08668e7c0b4664" name = "a9e0fa0a0e32b03f89d08668e7c0b4664" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a9e0fa0a0e32b03f89d08668e7c0b4664" > ◆  </ a ></ span > registerCurrentThread()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static void ULogger::registerCurrentThread </ td >
< td > (</ td >
< td class = "paramtype" > const std::string &  </ td >
< td class = "paramname" >< em > name</ em ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Threads can register to this list. If name is empty, it will clear the thread in the list. Should be called from the thread itself. </ p >
</ div >
</ div >
< a id = "a007b617547d616325e58003eb4352a19" name = "a007b617547d616325e58003eb4352a19" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a007b617547d616325e58003eb4352a19" > ◆  </ a ></ span > reset()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static void ULogger::reset </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Reset to default parameters. </ p >
</ div >
</ div >
< a id = "a701ad6b99c9040cf3b5d47711e9f6d6a" name = "a701ad6b99c9040cf3b5d47711e9f6d6a" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a701ad6b99c9040cf3b5d47711e9f6d6a" > ◆  </ a ></ span > flush()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static void ULogger::flush </ td >
< td > (</ td >
< td class = "paramname" ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Flush buffered messages. </ p >< dl class = "section see" >< dt > See also</ dt >< dd >< a class = "el" href = "classULogger.html#ab981daf077b8afbf49c7bd185aa3b273" > setBuffered()</ a > </ dd ></ dl >
</ div >
</ div >
< a id = "a17e6d133cea7c2cbe5365e5f5f2216a9" name = "a17e6d133cea7c2cbe5365e5f5f2216a9" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a17e6d133cea7c2cbe5365e5f5f2216a9" > ◆  </ a ></ span > getTime()</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static int ULogger::getTime </ td >
< td > (</ td >
< td class = "paramtype" > std::string &  </ td >
< td class = "paramname" >< em > timeStr</ em ></ td >< td > )</ td >
< td ></ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > Get the time in the format "2008-7-13 12:23:44". </ p >< dl class = "params" >< dt > Parameters</ dt >< dd >
< table class = "params" >
< tr >< td class = "paramname" > timeStr</ td >< td > string were the time will be copied. </ td ></ tr >
</ table >
</ dd >
</ dl >
< dl class = "section return" >< dt > Returns</ dt >< dd > the number of characters written, or 0 if an error occurred. </ dd ></ dl >
</ div >
</ div >
< h2 class = "groupheader" > Friends And Related Symbol Documentation</ h2 >
< a id = "ad29324f53883ee0b796452e6c4e5db34" name = "ad29324f53883ee0b796452e6c4e5db34" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#ad29324f53883ee0b796452e6c4e5db34" > ◆  </ a ></ span > UDestroyer< ULogger > </ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > friend class < a class = "el" href = "classUDestroyer.html" > UDestroyer</ a > < < a class = "el" href = "classULogger.html" > ULogger</ a > > </ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > friend</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p class = "definition" > Definition at line < a class = "el" href = "ULogger_8h_source.html#l00433" > 433</ a > of file < a class = "el" href = "ULogger_8h_source.html" > ULogger.h</ a > .</ p >
</ div >
</ div >
< h2 class = "groupheader" > Member Data Documentation</ h2 >
< a id = "ad18593456dbc3c4157ce986f55de6795" name = "ad18593456dbc3c4157ce986f55de6795" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#ad18593456dbc3c4157ce986f55de6795" > ◆  </ a ></ span > kDefaultLogFileName</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > const std::string ULogger::kDefaultLogFileName</ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > static</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p > The default log file name. </ p >
< p class = "definition" > Definition at line < a class = "el" href = "ULogger_8h_source.html#l00236" > 236</ a > of file < a class = "el" href = "ULogger_8h_source.html" > ULogger.h</ a > .</ p >
</ div >
</ div >
< a id = "a16eb706a3bade35c54a873c3e9760ca2" name = "a16eb706a3bade35c54a873c3e9760ca2" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#a16eb706a3bade35c54a873c3e9760ca2" > ◆  </ a ></ span > logFileName_</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > std::string ULogger::logFileName_</ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > static</ span >< span class = "mlabel" > protected</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p class = "definition" > Definition at line < a class = "el" href = "ULogger_8h_source.html#l00447" > 447</ a > of file < a class = "el" href = "ULogger_8h_source.html" > ULogger.h</ a > .</ p >
</ div >
</ div >
< a id = "ac2a625723eeac9d448972377508cc1f2" name = "ac2a625723eeac9d448972377508cc1f2" ></ a >
< h2 class = "memtitle" >< span class = "permalink" >< a href = "#ac2a625723eeac9d448972377508cc1f2" > ◆  </ a ></ span > append_</ h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > bool ULogger::append_</ td >
</ tr >
</ table >
</ td >
< td class = "mlabels-right" >
< span class = "mlabels" >< span class = "mlabel" > static</ span >< span class = "mlabel" > protected</ span ></ span > </ td >
</ tr >
</ table >
</ div >< div class = "memdoc" >
< p class = "definition" > Definition at line < a class = "el" href = "ULogger_8h_source.html#l00452" > 452</ a > of file < a class = "el" href = "ULogger_8h_source.html" > ULogger.h</ a > .</ p >
</ div >
</ div >
< hr /> The documentation for this class was generated from the following file:< ul >
< li > utilite/include/rtabmap/utilite/< a class = "el" href = "ULogger_8h_source.html" > ULogger.h</ a ></ li >
</ ul >
</ div > <!-- contents -->
2026-08-02 07:56:38 +00:00
</ div > <!-- doc-content -->
2026-08-02 01:36:11 +00:00
<!-- start footer part -->
2026-08-02 07:56:38 +00:00
< div id = "nav-path" class = "navpath" > <!-- id is needed for treeview function! -->
< ul >
< li class = "navelem" >< a class = "el" href = "classULogger.html" > ULogger</ a ></ li >
< li class = "footer" > 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 </ li >
</ ul >
</ div >
2026-08-02 01:36:11 +00:00
</ body >
</ html >