| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| <title>activemq-cpp-3.4.0: src/main/decaf/util/logging/Logger.h Source File</title> |
| <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="jquery.js"></script> |
| <script type="text/javascript" src="navtree.js"></script> |
| <script type="text/javascript" src="resize.js"></script> |
| <script type="text/javascript"> |
| $(document).ready(initResizable); |
| </script> |
| <link href="doxygen.css" rel="stylesheet" type="text/css"/> |
| </head> |
| <body> |
| <!-- Generated by Doxygen 1.7.3 --> |
| <div id="top"> |
| <div id="titlearea"> |
| <table cellspacing="0" cellpadding="0"> |
| <tbody> |
| <tr style="height: 56px;"> |
| <td style="padding-left: 0.5em;"> |
| <div id="projectname">activemq-cpp-3.4.0</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <div id="navrow1" class="tabs"> |
| <ul class="tablist"> |
| <li><a href="index.html"><span>Main Page</span></a></li> |
| <li><a href="namespaces.html"><span>Namespaces</span></a></li> |
| <li><a href="annotated.html"><span>Data Structures</span></a></li> |
| <li class="current"><a href="files.html"><span>Files</span></a></li> |
| </ul> |
| </div> |
| <div id="navrow2" class="tabs2"> |
| <ul class="tablist"> |
| <li><a href="files.html"><span>File List</span></a></li> |
| <li><a href="globals.html"><span>Globals</span></a></li> |
| </ul> |
| </div> |
| </div> |
| <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| <div id="nav-tree"> |
| <div id="nav-tree-contents"> |
| </div> |
| </div> |
| <div id="splitbar" style="-moz-user-select:none;" |
| class="ui-resizable-handle"> |
| </div> |
| </div> |
| <script type="text/javascript"> |
| initNavTree('_logger_8h.html',''); |
| </script> |
| <div id="doc-content"> |
| <div class="header"> |
| <div class="headertitle"> |
| <h1>src/main/decaf/util/logging/Logger.h</h1> </div> |
| </div> |
| <div class="contents"> |
| <a href="_logger_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> |
| <a name="l00002"></a>00002 <span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</span> |
| <a name="l00003"></a>00003 <span class="comment"> * contributor license agreements. See the NOTICE file distributed with</span> |
| <a name="l00004"></a>00004 <span class="comment"> * this work for additional information regarding copyright ownership.</span> |
| <a name="l00005"></a>00005 <span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span> |
| <a name="l00006"></a>00006 <span class="comment"> * (the "License"); you may not use this file except in compliance with</span> |
| <a name="l00007"></a>00007 <span class="comment"> * the License. You may obtain a copy of the License at</span> |
| <a name="l00008"></a>00008 <span class="comment"> *</span> |
| <a name="l00009"></a>00009 <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span> |
| <a name="l00010"></a>00010 <span class="comment"> *</span> |
| <a name="l00011"></a>00011 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span> |
| <a name="l00012"></a>00012 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span> |
| <a name="l00013"></a>00013 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span> |
| <a name="l00014"></a>00014 <span class="comment"> * See the License for the specific language governing permissions and</span> |
| <a name="l00015"></a>00015 <span class="comment"> * limitations under the License.</span> |
| <a name="l00016"></a>00016 <span class="comment"> */</span> |
| <a name="l00017"></a>00017 <span class="preprocessor">#ifndef _DECAF_UTIL_LOGGING_LOGGER_H_</span> |
| <a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define _DECAF_UTIL_LOGGING_LOGGER_H_</span> |
| <a name="l00019"></a>00019 <span class="preprocessor"></span> |
| <a name="l00020"></a>00020 <span class="preprocessor">#include <decaf/util/logging/LoggerCommon.h></span> |
| <a name="l00021"></a>00021 <span class="preprocessor">#include <decaf/util/logging/LogRecord.h></span> |
| <a name="l00022"></a>00022 <span class="preprocessor">#include <decaf/util/logging/LogManager.h></span> |
| <a name="l00023"></a>00023 <span class="preprocessor">#include <decaf/util/logging/Handler.h></span> |
| <a name="l00024"></a>00024 <span class="preprocessor">#include <decaf/util/concurrent/Mutex.h></span> |
| <a name="l00025"></a>00025 <span class="preprocessor">#include <decaf/util/Config.h></span> |
| <a name="l00026"></a>00026 |
| <a name="l00027"></a>00027 <span class="preprocessor">#include <decaf/lang/exceptions/IllegalArgumentException.h></span> |
| <a name="l00028"></a>00028 <span class="preprocessor">#include <decaf/lang/exceptions/NullPointerException.h></span> |
| <a name="l00029"></a>00029 |
| <a name="l00030"></a>00030 <span class="preprocessor">#include <list></span> |
| <a name="l00031"></a>00031 <span class="preprocessor">#include <string></span> |
| <a name="l00032"></a>00032 <span class="preprocessor">#include <stdarg.h></span> |
| <a name="l00033"></a>00033 |
| <a name="l00034"></a>00034 <span class="keyword">namespace </span>decaf{ |
| <a name="l00035"></a>00035 <span class="keyword">namespace </span>util{ |
| <a name="l00036"></a>00036 <span class="keyword">namespace </span>logging{ |
| <a name="l00037"></a>00037 |
| <a name="l00038"></a>00038 <span class="keyword">class </span>Filter; |
| <a name="l00039"></a>00039 |
| <a name="l00086"></a><a class="code" href="classdecaf_1_1util_1_1logging_1_1_logger.html">00086</a> <span class="keyword">class </span><a class="code" href="decaf_2util_2_config_8h.html#a8823395a34e3cba9af2a3d11968f3b37">DECAF_API</a> <a class="code" href="classdecaf_1_1util_1_1logging_1_1_logger.html" title="A Logger object is used to log messages for a specific system or application component.">Logger</a> { |
| <a name="l00087"></a>00087 <span class="keyword">private</span>: |
| <a name="l00088"></a>00088 |
| <a name="l00089"></a>00089 <span class="comment">// The name of this Logger</span> |
| <a name="l00090"></a>00090 std::string name; |
| <a name="l00091"></a>00091 |
| <a name="l00092"></a>00092 <span class="comment">// The Parent of this Logger</span> |
| <a name="l00093"></a>00093 <a class="code" href="classdecaf_1_1util_1_1logging_1_1_logger.html" title="A Logger object is used to log messages for a specific system or application component.">Logger</a>* parent; |
| <a name="l00094"></a>00094 |
| <a name="l00095"></a>00095 <span class="comment">// list of Handlers owned by this logger</span> |
| <a name="l00096"></a>00096 std::list<Handler*> handlers; |
| <a name="l00097"></a>00097 |
| <a name="l00098"></a>00098 <span class="comment">// Filter used by this Logger</span> |
| <a name="l00099"></a>00099 <a class="code" href="classdecaf_1_1util_1_1logging_1_1_filter.html" title="A Filter can be used to provide fine grain control over what is logged, beyond the control provided b...">Filter</a>* filter; |
| <a name="l00100"></a>00100 |
| <a name="l00101"></a>00101 <span class="comment">// The Log Level of this Logger</span> |
| <a name="l00102"></a>00102 <a class="code" href="classdecaf_1_1util_1_1logging_1_1_level.html" title="The Level class defines a set of standard logging levels that can be used to control logging output...">Level</a> level; |
| <a name="l00103"></a>00103 |
| <a name="l00104"></a>00104 <span class="comment">// Using Parent Handlers?</span> |
| <a name="l00105"></a>00105 <span class="keywordtype">bool</span> useParentHandlers; |
| <a name="l00106"></a>00106 |
| <a name="l00107"></a>00107 <span class="keyword">private</span>: |
| <a name="l00108"></a>00108 |
| <a name="l00109"></a>00109 <a class="code" href="classdecaf_1_1util_1_1logging_1_1_logger.html" title="A Logger object is used to log messages for a specific system or application component.">Logger</a>( <span class="keyword">const</span> <a class="code" href="classdecaf_1_1util_1_1logging_1_1_logger.html" title="A Logger object is used to log messages for a specific system or application component.">Logger</a>& ); |
| <a name="l00110"></a>00110 <a class="code" href="classdecaf_1_1util_1_1logging_1_1_logger.html" title="A Logger object is used to log messages for a specific system or application component.">Logger</a>& operator= ( <span class="keyword">const</span> <a class="code" href="classdecaf_1_1util_1_1logging_1_1_logger.html" title="A Logger object is used to log messages for a specific system or application component.">Logger</a>& ); |
| <a name="l00111"></a>00111 |
| <a name="l00112"></a>00112 <span class="keyword">protected</span>: |
| <a name="l00113"></a>00113 |
| <a name="l00126"></a>00126 <a class="code" href="classdecaf_1_1util_1_1logging_1_1_logger.html" title="A Logger object is used to log messages for a specific system or application component.">Logger</a>( <span class="keyword">const</span> std::string& name ); |
| <a name="l00127"></a>00127 |
| <a name="l00128"></a>00128 <span class="keyword">public</span>: |
| <a name="l00129"></a>00129 |
| <a name="l00130"></a>00130 <span class="keyword">virtual</span> ~<a class="code" href="classdecaf_1_1util_1_1logging_1_1_logger.html" title="A Logger object is used to log messages for a specific system or application component.">Logger</a>(); |
| <a name="l00131"></a>00131 |
| <a name="l00136"></a><a class="code" href="classdecaf_1_1util_1_1logging_1_1_logger.html#aa1096e2bb3f9c3dffc9bb7349975ad31">00136</a> <span class="keyword">const</span> std::string& <a class="code" href="classdecaf_1_1util_1_1logging_1_1_logger.html#aa1096e2bb3f9c3dffc9bb7349975ad31" title="Gets the name of this Logger.">getName</a>()<span class="keyword"> const </span>{ |
| <a name="l00137"></a>00137 <span class="keywordflow">return</span> name; |
| <a name="l00138"></a>00138 } |
| <a name="l00139"></a>00139 |
| <a name="l00148"></a><a class="code" href="classdecaf_1_1util_1_1logging_1_1_logger.html#a727ba7c6387dd88c2cfcd32d2651433b">00148</a> <a class="code" href="classdecaf_1_1util_1_1logging_1_1_logger.html" title="A Logger object is used to log messages for a specific system or application component.">Logger</a>* <a class="code" href="classdecaf_1_1util_1_1logging_1_1_logger.html#a727ba7c6387dd88c2cfcd32d2651433b" title="Gets the parent of this Logger which will be the nearest existing Logger in this Loggers namespace...">getParent</a>()<span class="keyword"> const </span>{ |
| <a name="l00149"></a>00149 <span class="keywordflow">return</span> this->parent; |
| <a name="l00150"></a>00150 } |
| <a name="l00151"></a>00151 |
| <a name="l00158"></a><a class="code" href="classdecaf_1_1util_1_1logging_1_1_logger.html#a0e2abc30ae5edb8adf450fadaf3b1de4">00158</a> <span class="keywordtype">void</span> <a class="code" href="classdecaf_1_1util_1_1logging_1_1_logger.html#a0e2abc30ae5edb8adf450fadaf3b1de4" title="Set the parent for this Logger.">setParent</a>( <a class="code" href="classdecaf_1_1util_1_1logging_1_1_logger.html" title="A Logger object is used to log messages for a specific system or application component.">Logger</a>* parent ) { |
| <a name="l00159"></a>00159 this->parent = parent; |
| <a name="l00160"></a>00160 } |
| <a name="l00161"></a>00161 |
| <a name="l00178"></a>00178 <span class="keywordtype">void</span> addHandler( <a class="code" href="classdecaf_1_1util_1_1logging_1_1_handler.html" title="A Handler object takes log messages from a Logger and exports them.">Handler</a>* handler ); |
| <a name="l00179"></a>00179 |
| <a name="l00188"></a>00188 <span class="keywordtype">void</span> removeHandler( <a class="code" href="classdecaf_1_1util_1_1logging_1_1_handler.html" title="A Handler object takes log messages from a Logger and exports them.">Handler</a>* handler ); |
| <a name="l00189"></a>00189 |
| <a name="l00195"></a>00195 <span class="keyword">const</span> std::list<Handler*>& getHandlers() <span class="keyword">const</span>; |
| <a name="l00196"></a>00196 |
| <a name="l00208"></a>00208 <span class="keywordtype">void</span> setFilter( <a class="code" href="classdecaf_1_1util_1_1logging_1_1_filter.html" title="A Filter can be used to provide fine grain control over what is logged, beyond the control provided b...">Filter</a>* filter ); |
| <a name="l00209"></a>00209 |
| <a name="l00214"></a><a class="code" href="classdecaf_1_1util_1_1logging_1_1_logger.html#a1f18baa5f1ca8c6038608792feb5112d">00214</a> <span class="keyword">const</span> <a class="code" href="classdecaf_1_1util_1_1logging_1_1_filter.html" title="A Filter can be used to provide fine grain control over what is logged, beyond the control provided b...">Filter</a>* <a class="code" href="classdecaf_1_1util_1_1logging_1_1_logger.html#a1f18baa5f1ca8c6038608792feb5112d" title="Gets the Filter object that this class is using.">getFilter</a>()<span class="keyword"> const </span>{ |
| <a name="l00215"></a>00215 <span class="keywordflow">return</span> filter; |
| <a name="l00216"></a>00216 } |
| <a name="l00217"></a>00217 |
| <a name="l00225"></a><a class="code" href="classdecaf_1_1util_1_1logging_1_1_logger.html#a78cd49a478ca69b87aadf6e7b532a4fa">00225</a> <a class="code" href="classdecaf_1_1util_1_1logging_1_1_level.html" title="The Level class defines a set of standard logging levels that can be used to control logging output...">Level</a> <a class="code" href="classdecaf_1_1util_1_1logging_1_1_logger.html#a78cd49a478ca69b87aadf6e7b532a4fa" title="Get the log Level that has been specified for this Logger.">getLevel</a>()<span class="keyword"> const </span>{ |
| <a name="l00226"></a>00226 <span class="keywordflow">return</span> level; |
| <a name="l00227"></a>00227 } |
| <a name="l00228"></a>00228 |
| <a name="l00242"></a><a class="code" href="classdecaf_1_1util_1_1logging_1_1_logger.html#aff2cf72a1478285d62b6a531250b0c8a">00242</a> <span class="keywordtype">void</span> <a class="code" href="classdecaf_1_1util_1_1logging_1_1_logger.html#aff2cf72a1478285d62b6a531250b0c8a" title="Set the log level specifying which message levels will be logged by this logger.">setLevel</a>( <span class="keyword">const</span> <a class="code" href="classdecaf_1_1util_1_1logging_1_1_level.html" title="The Level class defines a set of standard logging levels that can be used to control logging output...">Level</a>& level ) { |
| <a name="l00243"></a>00243 this->level = level; |
| <a name="l00244"></a>00244 } |
| <a name="l00245"></a>00245 |
| <a name="l00251"></a><a class="code" href="classdecaf_1_1util_1_1logging_1_1_logger.html#a44829382dd23f969fe7f293dd366fc60">00251</a> <span class="keywordtype">bool</span> <a class="code" href="classdecaf_1_1util_1_1logging_1_1_logger.html#a44829382dd23f969fe7f293dd366fc60" title="Discover whether or not this logger is sending its output to its parent logger.">getUseParentHandlers</a>()<span class="keyword"> const </span>{ |
| <a name="l00252"></a>00252 <span class="keywordflow">return</span> useParentHandlers; |
| <a name="l00253"></a>00253 } |
| <a name="l00254"></a>00254 |
| <a name="l00264"></a><a class="code" href="classdecaf_1_1util_1_1logging_1_1_logger.html#a2ea2397cb06f34e595f2d4f5a38e9194">00264</a> <span class="keywordtype">void</span> <a class="code" href="classdecaf_1_1util_1_1logging_1_1_logger.html#a2ea2397cb06f34e595f2d4f5a38e9194" title="Specify whether or not this logger should send its output to it&#39;s parent Logger.">setUseParentHandlers</a>( <span class="keywordtype">bool</span> value ) { |
| <a name="l00265"></a>00265 this->useParentHandlers = value; |
| <a name="l00266"></a>00266 } |
| <a name="l00267"></a>00267 |
| <a name="l00268"></a>00268 <span class="keyword">public</span>: <span class="comment">// Logging Methods.</span> |
| <a name="l00269"></a>00269 |
| <a name="l00283"></a>00283 <span class="keyword">virtual</span> <span class="keywordtype">void</span> entering( <span class="keyword">const</span> std::string& blockName, |
| <a name="l00284"></a>00284 <span class="keyword">const</span> std::string& file, |
| <a name="l00285"></a>00285 <span class="keyword">const</span> <span class="keywordtype">int</span> line ); |
| <a name="l00286"></a>00286 |
| <a name="l00300"></a>00300 <span class="keyword">virtual</span> <span class="keywordtype">void</span> exiting( <span class="keyword">const</span> std::string& blockName, |
| <a name="l00301"></a>00301 <span class="keyword">const</span> std::string& file, |
| <a name="l00302"></a>00302 <span class="keyword">const</span> <span class="keywordtype">int</span> line ); |
| <a name="l00303"></a>00303 |
| <a name="l00319"></a>00319 <span class="keyword">virtual</span> <span class="keywordtype">void</span> severe( <span class="keyword">const</span> std::string& file, |
| <a name="l00320"></a>00320 <span class="keyword">const</span> <span class="keywordtype">int</span> line, |
| <a name="l00321"></a>00321 <span class="keyword">const</span> std::string functionName, |
| <a name="l00322"></a>00322 <span class="keyword">const</span> std::string& message ); |
| <a name="l00323"></a>00323 |
| <a name="l00339"></a>00339 <span class="keyword">virtual</span> <span class="keywordtype">void</span> warning( <span class="keyword">const</span> std::string& file, |
| <a name="l00340"></a>00340 <span class="keyword">const</span> <span class="keywordtype">int</span> line, |
| <a name="l00341"></a>00341 <span class="keyword">const</span> std::string functionName, |
| <a name="l00342"></a>00342 <span class="keyword">const</span> std::string& message ); |
| <a name="l00343"></a>00343 |
| <a name="l00359"></a>00359 <span class="keyword">virtual</span> <span class="keywordtype">void</span> info( <span class="keyword">const</span> std::string& file, |
| <a name="l00360"></a>00360 <span class="keyword">const</span> <span class="keywordtype">int</span> line, |
| <a name="l00361"></a>00361 <span class="keyword">const</span> std::string functionName, |
| <a name="l00362"></a>00362 <span class="keyword">const</span> std::string& message ); |
| <a name="l00363"></a>00363 |
| <a name="l00379"></a>00379 <span class="keyword">virtual</span> <span class="keywordtype">void</span> debug( <span class="keyword">const</span> std::string& file, |
| <a name="l00380"></a>00380 <span class="keyword">const</span> <span class="keywordtype">int</span> line, |
| <a name="l00381"></a>00381 <span class="keyword">const</span> std::string functionName, |
| <a name="l00382"></a>00382 <span class="keyword">const</span> std::string& message ); |
| <a name="l00383"></a>00383 |
| <a name="l00399"></a>00399 <span class="keyword">virtual</span> <span class="keywordtype">void</span> config( <span class="keyword">const</span> std::string& file, |
| <a name="l00400"></a>00400 <span class="keyword">const</span> <span class="keywordtype">int</span> line, |
| <a name="l00401"></a>00401 <span class="keyword">const</span> std::string functionName, |
| <a name="l00402"></a>00402 <span class="keyword">const</span> std::string& message ); |
| <a name="l00403"></a>00403 |
| <a name="l00419"></a>00419 <span class="keyword">virtual</span> <span class="keywordtype">void</span> fine( <span class="keyword">const</span> std::string& file, |
| <a name="l00420"></a>00420 <span class="keyword">const</span> <span class="keywordtype">int</span> line, |
| <a name="l00421"></a>00421 <span class="keyword">const</span> std::string functionName, |
| <a name="l00422"></a>00422 <span class="keyword">const</span> std::string& message ); |
| <a name="l00423"></a>00423 |
| <a name="l00439"></a>00439 <span class="keyword">virtual</span> <span class="keywordtype">void</span> finer( <span class="keyword">const</span> std::string& file, |
| <a name="l00440"></a>00440 <span class="keyword">const</span> <span class="keywordtype">int</span> line, |
| <a name="l00441"></a>00441 <span class="keyword">const</span> std::string functionName, |
| <a name="l00442"></a>00442 <span class="keyword">const</span> std::string& message ); |
| <a name="l00443"></a>00443 |
| <a name="l00459"></a>00459 <span class="keyword">virtual</span> <span class="keywordtype">void</span> finest( <span class="keyword">const</span> std::string& file, |
| <a name="l00460"></a>00460 <span class="keyword">const</span> <span class="keywordtype">int</span> line, |
| <a name="l00461"></a>00461 <span class="keyword">const</span> std::string functionName, |
| <a name="l00462"></a>00462 <span class="keyword">const</span> std::string& message ); |
| <a name="l00463"></a>00463 |
| <a name="l00483"></a>00483 <span class="keyword">virtual</span> <span class="keywordtype">void</span> throwing( <span class="keyword">const</span> std::string& file, |
| <a name="l00484"></a>00484 <span class="keyword">const</span> <span class="keywordtype">int</span> line, |
| <a name="l00485"></a>00485 <span class="keyword">const</span> std::string functionName, |
| <a name="l00486"></a>00486 <span class="keyword">const</span> <a class="code" href="classdecaf_1_1lang_1_1_throwable.html" title="This class represents an error that has occurred.">decaf::lang::Throwable</a>& thrown ); |
| <a name="l00487"></a>00487 |
| <a name="l00495"></a>00495 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> isLoggable( <span class="keyword">const</span> <a class="code" href="classdecaf_1_1util_1_1logging_1_1_level.html" title="The Level class defines a set of standard logging levels that can be used to control logging output...">Level</a>& level ) <span class="keyword">const</span>; |
| <a name="l00496"></a>00496 |
| <a name="l00504"></a>00504 <span class="keyword">virtual</span> <span class="keywordtype">void</span> log( <a class="code" href="classdecaf_1_1util_1_1logging_1_1_log_record.html" title="LogRecord objects are used to pass logging requests between the logging framework and individual log ...">LogRecord</a>& record ); |
| <a name="l00505"></a>00505 |
| <a name="l00515"></a>00515 <span class="keyword">virtual</span> <span class="keywordtype">void</span> log( <span class="keyword">const</span> <a class="code" href="classdecaf_1_1util_1_1logging_1_1_level.html" title="The Level class defines a set of standard logging levels that can be used to control logging output...">Level</a>& level, <span class="keyword">const</span> std::string& message ); |
| <a name="l00516"></a>00516 |
| <a name="l00529"></a>00529 <span class="keyword">virtual</span> <span class="keywordtype">void</span> log( <span class="keyword">const</span> <a class="code" href="classdecaf_1_1util_1_1logging_1_1_level.html" title="The Level class defines a set of standard logging levels that can be used to control logging output...">Level</a>& levels, |
| <a name="l00530"></a>00530 <span class="keyword">const</span> std::string& file, |
| <a name="l00531"></a>00531 <span class="keyword">const</span> <span class="keywordtype">int</span> line, |
| <a name="l00532"></a>00532 <span class="keyword">const</span> std::string& message, ... ); |
| <a name="l00533"></a>00533 |
| <a name="l00549"></a>00549 <span class="keyword">virtual</span> <span class="keywordtype">void</span> log( <span class="keyword">const</span> <a class="code" href="classdecaf_1_1util_1_1logging_1_1_level.html" title="The Level class defines a set of standard logging levels that can be used to control logging output...">Level</a>& level, |
| <a name="l00550"></a>00550 <span class="keyword">const</span> std::string& file, |
| <a name="l00551"></a>00551 <span class="keyword">const</span> <span class="keywordtype">int</span> line, |
| <a name="l00552"></a>00552 <span class="keyword">const</span> std::string& message, |
| <a name="l00553"></a>00553 <a class="code" href="classdecaf_1_1lang_1_1_exception.html">lang::Exception</a>& ex ); |
| <a name="l00554"></a>00554 |
| <a name="l00555"></a>00555 <span class="keyword">public</span>: |
| <a name="l00556"></a>00556 |
| <a name="l00571"></a>00571 <span class="keyword">static</span> <a class="code" href="classdecaf_1_1util_1_1logging_1_1_logger.html" title="A Logger object is used to log messages for a specific system or application component.">Logger</a>* getAnonymousLogger(); |
| <a name="l00572"></a>00572 |
| <a name="l00588"></a>00588 <span class="keyword">static</span> <a class="code" href="classdecaf_1_1util_1_1logging_1_1_logger.html" title="A Logger object is used to log messages for a specific system or application component.">Logger</a>* getLogger( <span class="keyword">const</span> std::string& name ); |
| <a name="l00589"></a>00589 |
| <a name="l00590"></a>00590 }; |
| <a name="l00591"></a>00591 |
| <a name="l00592"></a>00592 }}} |
| <a name="l00593"></a>00593 |
| <a name="l00594"></a>00594 <span class="preprocessor">#endif </span><span class="comment">/*_DECAF_UTIL_LOGGING_LOGGER_H_*/</span> |
| </pre></div></div> |
| </div> |
| <div id="nav-path" class="navpath"> |
| <ul> |
| <li class="navelem"><a class="el" href="_logger_8h.html">Logger.h</a> </li> |
| <li class="footer">Generated on Mon Apr 25 2011 for activemq-cpp-3.4.0 by  |
| <a href="http://www.doxygen.org/index.html"> |
| <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li> |
| </ul> |
| </div> |
| |
| </body> |
| </html> |