ESA JPIP server  0.1
TraceSystem Class Reference

Wrapper used by the application to handle the log/trace messages by means of the log4cpp library. More...

#include <trace.h>

Collaboration diagram for TraceSystem:

Static Public Member Functions

static bool AppendToFile (const char *name)
 
static bool AppendToFile (const std::string &name)
 
static log4cpp::CategoryStream logStream ()
 
static log4cpp::CategoryStream errorStream ()
 
static log4cpp::CategoryStream traceStream ()
 

Private Member Functions

 TraceSystem ()
 
virtual ~TraceSystem ()
 
bool AppendToFile_ (const char *name)
 

Private Attributes

log4cpp::Category * category
 
log4cpp::Appender * appender
 
log4cpp::PatternLayout * layout
 
log4cpp::Appender * file_appender
 
log4cpp::PatternLayout * file_layout
 

Static Private Attributes

static TraceSystem traceSystem
 

Detailed Description

Wrapper used by the application to handle the log/trace messages by means of the log4cpp library.

Constructor & Destructor Documentation

TraceSystem::TraceSystem ( )
private
TraceSystem::~TraceSystem ( )
privatevirtual

Member Function Documentation

static bool TraceSystem::AppendToFile ( const char *  name)
inlinestatic

Here is the call graph for this function:

Here is the caller graph for this function:

static bool TraceSystem::AppendToFile ( const std::string &  name)
inlinestatic

Here is the call graph for this function:

bool TraceSystem::AppendToFile_ ( const char *  name)
private

Here is the caller graph for this function:

static log4cpp::CategoryStream TraceSystem::errorStream ( )
inlinestatic
static log4cpp::CategoryStream TraceSystem::logStream ( )
inlinestatic
static log4cpp::CategoryStream TraceSystem::traceStream ( )
inlinestatic

Member Data Documentation

log4cpp::Appender* TraceSystem::appender
private
log4cpp::Category* TraceSystem::category
private
log4cpp::Appender* TraceSystem::file_appender
private
log4cpp::PatternLayout* TraceSystem::file_layout
private
log4cpp::PatternLayout* TraceSystem::layout
private
TraceSystem TraceSystem::traceSystem
staticprivate

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