46 #include <log4cxx/helpers/stringhelper.h>
47 #include <log4cxx/helpers/pool.h>
48 #include <log4cxx/spi/location/locationinfo.h>
50 using namespace log4cxx;
51 using namespace log4cxx::helpers;
53 namespace pexExceptions = lsst::pex::exceptions;
62 const std::string LogEvent::LEVEL =
"LEVEL";
63 const std::string LogEvent::LOGGER =
"LOGGER";
64 const std::string LogEvent::MESSAGE =
"MESSAGE";
65 const std::string LogEvent::TIMESTAMP =
"TIMESTAMP";
66 const std::string LogEvent::THREADNAME =
"THREADNAME";
67 const std::string LogEvent::FILENAME =
"FILENAME";
68 const std::string LogEvent::CLASSNAME =
"CLASSNAME";
69 const std::string LogEvent::METHODNAME =
"METHODNAME";
70 const std::string LogEvent::LINENUMBER =
"LINENUMBER";
71 const std::string LogEvent::LOCATION =
"LOCATION";
73 const std::string LogEvent::LOGGING_TOPIC =
"Logging";
79 LogEvent::LogEvent() :
Event() {
94 spi::LocationInfo location =
event->getLocationInformation();
static const std::string LEVEL
static const std::string TIMESTAMP
static const std::string LOGGING_TOPIC
Include files required for standard LSST Exception handling.
boost::shared_ptr< PropertySet > Ptr
LogEvent()
Creates LogEvent which contains a PropertySet.
std::string getLogger()
Retreive the log message.
static const std::string METHODNAME
virtual ~LogEvent()
destructor
static const std::string THREADNAME
static const std::string LOG
virtual void populateHeader(cms::TextMessage *msg) const
populate a cms::TextMessage header with properties
static const std::string MESSAGE
set< std::string > _keywords
int getLevel()
retreive the log level
static const std::string CLASSNAME
defines the LogEvent class
virtual void populateHeader(cms::TextMessage *msg) const
static const std::string TYPE
Representation of an LSST Event.
static const std::string LOGGER
Class for storing generic metadata.
std::string getLoggingTopic()
Retreive the log message.
static const std::string FILENAME
Interface for PropertySet class.
defines the EventSystem class
static const std::string LOCATION
static const std::string LINENUMBER