MsgLogger/src/MsgLoggerImpl.cpp File Reference

#include "MsgLogger/MsgLoggerImpl.h"
#include <stdlib.h>
#include <algorithm>
#include <map>
#include <sstream>
#include <iostream>
#include <boost/shared_ptr.hpp>
#include <boost/thread/mutex.hpp>
#include "MsgLogger/MsgHandler.h"
#include "MsgLogger/MsgHandlerStdStreams.h"
#include "MsgLogger/MsgLogRecord.h"

Go to the source code of this file.

Namespaces

namespace  MsgLogger

Typedefs

typedef std::map< std::string,
boost::shared_ptr< MsgLogger::MsgLoggerImpl > > 
Name2ImplMap

Functions

std::string parentName (const std::string &name)
void initRoot (MsgLogger::MsgLoggerImpl &root)
void readConfig ()
void makeLogger (const std::string &name, const std::string &level, bool propagate)
void readConfig ()

Variables

Name2ImplMap map
bool destroyed
Name2Impl implementations
static boost::mutex newLoggerMutex


Typedef Documentation

typedef std::map< std::string, boost::shared_ptr<MsgLogger::MsgLoggerImpl> > Name2ImplMap [static]

Definition at line 58 of file MsgLoggerImpl.cpp.


Function Documentation

void @584::initRoot ( MsgLogger::MsgLoggerImpl root  )  [static]

Definition at line 78 of file MsgLoggerImpl.cpp.

References LogBookGrabber::root.

void @585::makeLogger ( const std::string &  name,
const std::string &  level,
bool  propagate 
) [static]

Definition at line 227 of file MsgLoggerImpl.cpp.

References implementations, and CSPadPixCoords::logger.

Referenced by readConfig().

std::string @584::parentName ( const std::string &  name  )  [static]

Definition at line 68 of file MsgLoggerImpl.cpp.

Referenced by MsgLogger::MsgLoggerImpl::log(), and MsgLogger::MsgLoggerImpl::logging().

void @585::readConfig (  )  [static]

Definition at line 250 of file MsgLoggerImpl.cpp.

References ex_acqiris::env, find(), ex_all_dets::i, iter, makeLogger(), setup::name, and MsgLogger::propagate().

void @584::readConfig (  )  [static]

Referenced by MsgLogger::MsgLoggerImpl::getLogger().


Variable Documentation

bool destroyed

Definition at line 63 of file MsgLoggerImpl.cpp.

Name2Impl implementations [static]

Definition at line 65 of file MsgLoggerImpl.cpp.

Referenced by MsgLogger::MsgLoggerImpl::getLogger(), and makeLogger().

Name2ImplMap map

Definition at line 62 of file MsgLoggerImpl.cpp.

Referenced by ConfigSvc::ConfigSvcImplFile::getKeys(), ImgAlgos::AlgArrProc::mapsOfPhotonNumbersV1(), ImgAlgos::AlgArrProc::mapsOfPixelStatus(), and cGlobal::writeHitClasses().

boost::mutex newLoggerMutex [static]

Definition at line 86 of file MsgLoggerImpl.cpp.

Referenced by MsgLogger::MsgLoggerImpl::getLogger().


Generated on 19 Dec 2016 for PSDMSoftware by  doxygen 1.4.7