1 #include "TxEventLog.h"
2 #include "TxEventLogFactory.h"
12 el1->
logEvent (
"com.txcorp.ucm.newtask",
13 "brokerID='1', taskName='Roopa's task', taskDescription='Test task from TxEventLogMain', taskSize='1'");
14 el1->
logEvent (
"com.txcorp.ucm.updatetask",
15 "taskRemainSize='1'");
17 el1->
logEvent (
"com.txcorp.ucm.addjob",
18 "queue='some queue', queuePosition='2'");
19 el1->
logEvent (
"com.txcorp.ucm.updatejob",
22 el1->setJobSubmitLocation (
"some location");
23 el1->setJobSubmitID (
"some job id");
24 el1->setJobSubmitState (TxLogging::TxEventLog::STAGEIN);
30 el1->
logEvent (
"test key",
"test value");
32 el1->setJobSubmitLocation (
"GRAM");
34 el1->setJobSubmitState (TxLogging::TxEventLog::DONE);
36 el1->setJobSubmitID (
"Job ID asdfasdf");
virtual void setBrokerTaskID(const std::string &brokerTaskID)=0
virtual void logStart(const std::string &key, const std::string &value)=0
virtual void logEnd(const std::string &key, const std::string &value)=0
virtual void setRequesterName(const std::string &requester)=0
virtual void setBrokerJobID(int brokerJobID)=0
virtual void logJobAttribute(const std::string &key, const std::string &value)=0
virtual void logEvent(const std::string &logMsg, Level level=LEVEL_INFO, Stage stage=STATUS, const std::string &msgContext=TxUCMConstants::defaultContext)=0