TwiceAsNice  2019-02-18
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Attributes | Static Protected Attributes | Private Member Functions | Friends | List of all members
Nice::AppLogger Class Reference

#include <Logger.h>

Inheritance diagram for Nice::AppLogger:
Inheritance graph
Collaboration diagram for Nice::AppLogger:
Collaboration graph

Classes

class  IceLogger
 
class  IceStats
 
class  IceThreads
 
struct  LoggerTypeName
 
struct  PropertyName
 
class  ReaderThread
 

Public Types

typedef IceUtil::Handle< IceStatsIceStatsPtr
 
typedef IceUtil::Handle< IceStatsIceStatsPtr
 

Public Member Functions

void setBufferedLogging (bool _enabled)
 
bool bufferedLoggingEnabled ()
 
void setBufferedLogging (bool _enabled)
 
bool bufferedLoggingEnabled ()
 

Static Public Member Functions

static IceStatsPtr createIceStatsLogger ()
 
static IceStatsPtr iceStatLogger ()
 
static Nice::AppLoggerPtr logger ()
 
static bool isEnabled ()
 
static void initialize (const Nice::JointPtr &)
 
static void distribute (const Nice::JointPtr &)
 
static void deinitialize ()
 
static std::string determineLoggerType (const Nice::JointPtr &)
 
static void createLoggerThread (const Nice::JointPtr &)
 
static IceStatsPtr createIceStatsLogger ()
 
static IceStatsPtr iceStatLogger ()
 
static Nice::AppLoggerPtr logger ()
 
static bool isEnabled ()
 
static void initialize (const Nice::JointPtr &)
 
static void distribute (const Nice::JointPtr &)
 
static void deinitialize ()
 
static std::string determineLoggerType (const Nice::JointPtr &)
 
static void createLoggerThread (const Nice::JointPtr &)
 

Protected Types

typedef IceUtil::Handle< ReaderThreadReaderThreadPtr
 
typedef IceUtil::Handle< ReaderThreadReaderThreadPtr
 

Protected Attributes

ReaderThreadPtr m_reader
 

Static Protected Attributes

static IceStatsPtr s_loggerStat
 
static AppLoggerPtr s_logger = 0
 

Private Member Functions

 AppLogger ()
 
 ~AppLogger ()
 
 AppLogger ()
 
 ~AppLogger ()
 

Friends

class ReaderThread
 

Member Typedef Documentation

◆ IceStatsPtr [1/2]

typedef IceUtil::Handle<IceStats> Nice::AppLogger::IceStatsPtr

◆ IceStatsPtr [2/2]

typedef IceUtil::Handle<IceStats> Nice::AppLogger::IceStatsPtr

◆ ReaderThreadPtr [1/2]

typedef IceUtil::Handle<ReaderThread> Nice::AppLogger::ReaderThreadPtr
protected

◆ ReaderThreadPtr [2/2]

typedef IceUtil::Handle<ReaderThread> Nice::AppLogger::ReaderThreadPtr
protected

Constructor & Destructor Documentation

◆ AppLogger() [1/2]

Nice::AppLogger::AppLogger ( )
inlineprivate

◆ ~AppLogger() [1/2]

Nice::AppLogger::~AppLogger ( )
inlineprivate

◆ AppLogger() [2/2]

Nice::AppLogger::AppLogger ( )
inlineprivate

◆ ~AppLogger() [2/2]

Nice::AppLogger::~AppLogger ( )
inlineprivate

Member Function Documentation

◆ bufferedLoggingEnabled() [1/2]

bool Nice::AppLogger::bufferedLoggingEnabled ( )
inline

◆ bufferedLoggingEnabled() [2/2]

bool Nice::AppLogger::bufferedLoggingEnabled ( )
inline

◆ createIceStatsLogger() [1/2]

static IceStatsPtr Nice::AppLogger::createIceStatsLogger ( )
inlinestatic

◆ createIceStatsLogger() [2/2]

static IceStatsPtr Nice::AppLogger::createIceStatsLogger ( )
inlinestatic

◆ createLoggerThread() [1/2]

void Nice::AppLogger::createLoggerThread ( const Nice::JointPtr _tree)
static

◆ createLoggerThread() [2/2]

static void Nice::AppLogger::createLoggerThread ( const Nice::JointPtr )
static

◆ deinitialize() [1/2]

void Nice::AppLogger::deinitialize ( )
static

◆ deinitialize() [2/2]

static void Nice::AppLogger::deinitialize ( )
static

◆ determineLoggerType() [1/2]

std::string Nice::AppLogger::determineLoggerType ( const Nice::JointPtr _tree)
static

◆ determineLoggerType() [2/2]

static std::string Nice::AppLogger::determineLoggerType ( const Nice::JointPtr )
static

◆ distribute() [1/2]

void Nice::AppLogger::distribute ( const Nice::JointPtr _tree)
static

◆ distribute() [2/2]

static void Nice::AppLogger::distribute ( const Nice::JointPtr )
static

◆ iceStatLogger() [1/2]

static IceStatsPtr Nice::AppLogger::iceStatLogger ( )
inlinestatic

◆ iceStatLogger() [2/2]

static IceStatsPtr Nice::AppLogger::iceStatLogger ( )
inlinestatic

◆ initialize() [1/2]

static void Nice::AppLogger::initialize ( const Nice::JointPtr )
static

◆ initialize() [2/2]

void Nice::AppLogger::initialize ( const Nice::JointPtr _tree)
static

◆ isEnabled() [1/2]

static bool Nice::AppLogger::isEnabled ( )
inlinestatic

◆ isEnabled() [2/2]

static bool Nice::AppLogger::isEnabled ( )
inlinestatic

◆ logger() [1/2]

static Nice::AppLoggerPtr Nice::AppLogger::logger ( )
inlinestatic

◆ logger() [2/2]

static Nice::AppLoggerPtr Nice::AppLogger::logger ( )
inlinestatic

◆ setBufferedLogging() [1/2]

void Nice::AppLogger::setBufferedLogging ( bool  _enabled)
inline

◆ setBufferedLogging() [2/2]

void Nice::AppLogger::setBufferedLogging ( bool  _enabled)
inline

Friends And Related Function Documentation

◆ ReaderThread

ReaderThread
friend

Member Data Documentation

◆ m_reader

ReaderThreadPtr Nice::AppLogger::m_reader
protected

◆ s_logger

static AppLoggerPtr Nice::AppLogger::s_logger = 0
staticprotected

◆ s_loggerStat

static IceStatsPtr Nice::AppLogger::s_loggerStat
staticprotected

The documentation for this class was generated from the following files: