Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #include "PortabilityImpl.hh"
00011 #include <log4cpp/LoggingEvent.hh>
00012 #include <log4cpp/threading/Threading.hh>
00013
00014 namespace log4cpp {
00015
00016 LoggingEvent::LoggingEvent(const std::string& categoryName,
00017 const std::string& message,
00018 const std::string& ndc,
00019 Priority::Value priority) :
00020 categoryName(categoryName),
00021 message(message),
00022 ndc(ndc),
00023 priority(priority),
00024 threadName(threading::getThreadId()) {
00025 }
00026
00027
00028 LoggingEvent::LoggingEvent(const std::string& categoryName,
00029 const std::string& message,
00030 const std::string& ndc,
00031 Priority::Value priority,
00032 const std::string& threadName,
00033 TimeStamp& timeStamp) :
00034 categoryName(categoryName),
00035 message(message),
00036 ndc(ndc),
00037 priority(priority),
00038 threadName(threadName),
00039 timeStamp(timeStamp)
00040 {
00041 }
00042 }
log4cpp
Author(s): Stephen Roderick, Bastiaan Bakker, Cedric Le Goater, Steve Ostlind, Marcel Harkema, Walter Stroebel, Glenn Scott and Tony Cheung
autogenerated on Sat Jun 8 2019 18:45:46