1 #ifndef CONDCORE_DBCOMMON_LOGGER_H
2 #define CONDCORE_DBCOMMON_LOGGER_H
43 unsigned int payloadIdx,
44 unsigned long long lastSince
57 unsigned int payloadIdx,
58 unsigned long long lastSince,
72 bool filterFailedOp=
true)
const;
83 bool filterFailedOp=
true)
const;
88 bool filterFailedOp=
true)
const;
99 unsigned int payloadIdx,
100 unsigned long long lastSince,
SequenceManager * m_sequenceManager
void logFailedOperationNow(const cond::UserLogInfo &userlogInfo, const std::string &destDB, const std::string &payloadToken, const std::string &payloadClass, const std::string &iovtag, const std::string &iovtimetype, unsigned int payloadIdx, unsigned long long lastSince, const std::string &exceptionMessage)
void connect(const std::string &logConnectionString, bool readOnly=false)
DbSession m_sessionHandle
void LookupLastEntryByProvenance(const std::string &provenance, LogDBEntry &logentry, bool filterFailedOp=true) const
void logOperationNow(const cond::UserLogInfo &userlogInfo, const std::string &destDB, const std::string &payloadToken, const std::string &payloadClass, const std::string &iovtag, const std::string &iovtimetype, unsigned int payloadIdx, unsigned long long lastSince)
coral::IQuery * m_statusEditorHandle
void createLogDBIfNonExist()
void LookupLastEntryByTag(const std::string &iovtag, LogDBEntry &logentry, bool filterFailedOp=true) const
Logger(DbSession &sessionHandle)
void insertLogRecord(unsigned long long logId, const std::string &utctime, const std::string &destDB, const std::string &payloadToken, const std::string &payloadClass, const cond::UserLogInfo &userLogInfo, const std::string &iovtag, const std::string &iovtimetype, unsigned int payloadIdx, unsigned long long lastSince, const std::string &exceptionMessage)