Logging::LogTrace

NAME
SYNOPSIS
Detailed Description
Member Typedef Documentation
Constructor & Destructor Documentation
Member Function Documentation
Member Data Documentation
Author

NAME

Logging::LogTrace −

SYNOPSIS

#include <loggingLogTrace.h>

Public Types

typedef Loki::SmartPtr< LogTrace, Loki::NoCopy, Loki::DisallowConversion, Loki::RejectNull, Loki::DefaultSPStorage > LogTraceSmartPtr

LogTrace smart pointer.

Public Member Functions

LogTrace (Logger::LoggerSmartPtr logger, const std::string &method, const std::string &file, unsigned long line)

LogTrace (Logger::LoggerSmartPtr logger, const std::string &method)

virtual ~LogTrace ()

Protected Member Functions

virtual void entryLog (Logger::LoggerSmartPtr logger, std::string method, std::string file, unsigned long line)

Private Attributes

Logger::LoggerSmartPtr logger_m

logger reference saved for destructor use

std::string methodName_m

method name saved for destructor use

std::string fileName_m

unsigned long lineNumber_m

ACE_Time_Value start_time

ACE_Time_Value end_time

Detailed Description

LogTrace class that logs an ’Entering’ message when instantiated and an ’Exiting’ message when destroyed

Member Typedef Documentation

typedef Loki::SmartPtr<LogTrace, Loki::NoCopy, Loki::DisallowConversion, Loki::RejectNull, Loki::DefaultSPStorage> Logging::LogTrace::LogTraceSmartPtr

LogTrace smart pointer.

Constructor & Destructor Documentation

Logging::LogTrace::LogTrace (Logger::LoggerSmartPtr logger, const std::string & method, const std::string & file, unsigned long line) Constructor

Parameters:

logger Logger to be used
method
Name of the method from where the log was published.
file
Name of the file from which the log came from.
line
Line number from where the log was published.

Logging::LogTrace::LogTrace (Logger::LoggerSmartPtr logger, const std::string & method) Constructor

Parameters:

logger Logger to be used
method
Name of the method from where the log was published.

virtual Logging::LogTrace::~LogTrace () [virtual] Destructor

Member Function Documentation

virtual void Logging::LogTrace::entryLog (Logger::LoggerSmartPtr logger, std::string method, std::string file, unsigned long line) [protected, virtual] Helper method called by the various constructors to log the trace entry.

Parameters:

logger Logger to be used
method
Name of the method from where the log was published.
file
Name of the file from which the log came from.
line
Line number from where the log was published.

Member Data Documentation

ACE_Time_Value Logging::LogTrace::end_time [private]

std::string Logging::LogTrace::fileName_m [private]

unsigned long Logging::LogTrace::lineNumber_m [private]

Logger::LoggerSmartPtr Logging::LogTrace::logger_m [private]

logger reference saved for destructor use

std::string Logging::LogTrace::methodName_m [private]

method name saved for destructor use

ACE_Time_Value Logging::LogTrace::start_time [private]

Author

Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code.