reSIProcate/rutil  9694
Classes | Namespaces | Defines | Functions | Variables
Log.hxx File Reference
#include "rutil/Data.hxx"
#include <syslog.h>
#include <unistd.h>
#include <set>
#include "rutil/Mutex.hxx"
#include "rutil/Lock.hxx"
#include "rutil/HashMap.hxx"
#include "rutil/ThreadIf.hxx"
#include <iostream>
Include dependency graph for Log.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  resip::Log
 Singleton that handles logging calls. More...
class  resip::Log::Guard
 Implementation for logging macros. More...
class  resip::Log::ThreadSetting
class  resip::Log::ThreadData
class  resip::Log::LocalLoggerMap
 Thread Local logger settings storage. More...
class  resip::ExternalLogger
 Interface functor for external logging. More...
class  resip::LogStaticInitializer
 Class to initialize Log class static variables. More...

Namespaces

namespace  resip
 

dcm! -- add UnusedChecking(_enum) below;


Defines

#define LOG_ENABLE_THREAD_SETTING

Functions

void freeLocalLogger (void *pThreadData)

Variables

static LogStaticInitializer resip::_staticLogInit

Define Documentation

#define LOG_ENABLE_THREAD_SETTING

Definition at line 27 of file Log.hxx.


Function Documentation

void freeLocalLogger ( void *  pThreadData)

Definition at line 69 of file Log.cxx.

References resip::Log::mLocalLoggerMap.

Referenced by resip::LogStaticInitializer::LogStaticInitializer().

   {
      if (pThreadData)
      {
         // There was some local logger installed. Decrease its use count before we
         // continue.
         Log::mLocalLoggerMap.decreaseUseCount((static_cast<Log::ThreadData*>(pThreadData))->id());
      }
   }