OpcUaCanOpen
CANopen OPC-UA server
|
#include <LogRecord.h>
Public Member Functions | |
SHARED_LIB_EXPORT_DEFN | LogRecord (const std::string &file, const int &line, const Log::LOG_LEVEL &level) |
SHARED_LIB_EXPORT_DEFN | LogRecord (const std::string &file, const int &line, const Log::LOG_LEVEL &level, const Log::LogComponentHandle &componentHandle) |
SHARED_LIB_EXPORT_DEFN | LogRecord (const std::string &file, const int &line, const Log::LOG_LEVEL &level, const std::string &componentName) |
virtual SHARED_LIB_EXPORT_DEFN | ~LogRecord () |
SHARED_LIB_EXPORT_DEFN std::ostream & | getStream () |
Private Member Functions | |
std::ostringstream & | initializeStream (const std::string &file, const int &line, const Log::LOG_LEVEL &level) |
Static Private Member Functions | |
static const std::string | stripDirectory (const std::string &file) |
Private Attributes | |
std::ostringstream | m_stream |
Definition at line 30 of file LogRecord.h.
SHARED_LIB_EXPORT_DEFN LogRecord::LogRecord | ( | const std::string & | file, |
const int & | line, | ||
const Log::LOG_LEVEL & | level | ||
) |
SHARED_LIB_EXPORT_DEFN LogRecord::LogRecord | ( | const std::string & | file, |
const int & | line, | ||
const Log::LOG_LEVEL & | level, | ||
const Log::LogComponentHandle & | componentHandle | ||
) |
LogRecord::LogRecord | ( | const std::string & | file, |
const int & | line, | ||
const Log::LOG_LEVEL & | level, | ||
const std::string & | componentName | ||
) |
Definition at line 53 of file LogRecord.cpp.
|
virtual |
Definition at line 58 of file LogRecord.cpp.
std::ostream & LogRecord::getStream | ( | ) |
Definition at line 71 of file LogRecord.cpp.
|
private |
Definition at line 64 of file LogRecord.cpp.
|
staticprivate |
Definition at line 76 of file LogRecord.cpp.
|
private |
Definition at line 44 of file LogRecord.h.