Class to create a log file which contains function calls with their runtime. More...

#include <pd_scopelogger.h>

Public Member Functions

 ScopeLogger (std::string const &msg)
 Constructor.
 ~ScopeLogger ()
 Deconstructor.
void StackTrace ()

Public Attributes

std::string msg
time_t startFuntime

Static Public Attributes

static std::vector< ScopeLogger * > vFunTrace
static std::stringstream stFunDone

Static Private Attributes

static int indent = 0
static std::ofstream outputFile
static time_t starttime = 0

Detailed Description

Class to create a log file which contains function calls with their runtime.

Definition at line 29 of file pd_scopelogger.h.

Constructor & Destructor Documentation

faudes::ScopeLogger::ScopeLogger ( std::string const &  msg)

Constructor.

Definition at line 41 of file pd_scopelogger.cpp.

faudes::ScopeLogger::~ScopeLogger ( )

Deconstructor.

Definition at line 53 of file pd_scopelogger.cpp.

Member Function Documentation

void faudes::ScopeLogger::StackTrace ( )

Definition at line 75 of file pd_scopelogger.cpp.

Member Data Documentation

int faudes::ScopeLogger::indent = 0
staticprivate

Definition at line 32 of file pd_scopelogger.h.

std::string faudes::ScopeLogger::msg

Definition at line 37 of file pd_scopelogger.h.

std::ofstream faudes::ScopeLogger::outputFile
staticprivate

Definition at line 33 of file pd_scopelogger.h.

time_t faudes::ScopeLogger::startFuntime

Definition at line 38 of file pd_scopelogger.h.

time_t faudes::ScopeLogger::starttime = 0
staticprivate

Definition at line 34 of file pd_scopelogger.h.

std::stringstream faudes::ScopeLogger::stFunDone
static

Definition at line 40 of file pd_scopelogger.h.

std::vector< ScopeLogger * > faudes::ScopeLogger::vFunTrace
static

Definition at line 39 of file pd_scopelogger.h.


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

libFAUDES 2.28c --- 2016.09.30 --- c++ api documentaion by doxygen