ewmscp
..
|
Classes | |
class | location |
class for defining the location of a error message in the source code. More... | |
class | message |
class for (error) messages. More... | |
Enumerations | |
enum | level { level::emerg = LOG_EMERG, level::alert = LOG_ALERT, level::crit = LOG_CRIT, level::err = LOG_ERR, level::warning = LOG_WARNING, level::notice = LOG_NOTICE, level::info = LOG_INFO, level::debug = LOG_DEBUG } |
Functions | |
template<typename T > | |
void | conCatString (std::ostringstream &msg, const T &begin) |
template<typename T , typename ... Args> | |
void | conCatString (std::ostringstream &msg, const T &begin, const Args &... args) |
template<typename ... Args> | |
void | emit (level aLogLevel, const location &loc, const std::string &aObject, const std::string &aAction, const Args &... args) |
function to create and enqueue a message, this is the only way that messages should be created! More... | |
|
strong |
void errMsg::conCatString | ( | std::ostringstream & | msg, |
const T & | begin | ||
) |
Definition at line 134 of file errMsgQueue.h.
Referenced by conCatString(), and emit().
|
inline |
Definition at line 137 of file errMsgQueue.h.
References conCatString().
|
inline |
function to create and enqueue a message, this is the only way that messages should be created!
[in] | aLogLevel | [in] log level as in syslog |
[in] | loc | [in] location of the call |
[in] | aObject | [in] a string describing the object concerned |
[in] | aAction | [in] a string describing the action on which the message appeared |
[in] | args | [in] additional args that form the message text |
Definition at line 148 of file errMsgQueue.h.
References conCatString(), and errMsg::message::generateMsg().
Referenced by copyRequest::base::adviseDelay(), copyRequest::base::attrset(), followJsonRequestProvider::cleanupRenameEvents(), outputHandler::davix::writerDavix::closeAndRemoveBadCopy(), outputHandler::dcap::writerDcap::closeAndRemoveBadCopy(), outputHandler::libssh::writerLibssh::closeAndRemoveBadCopy(), outputHandler::posixFile::writerPosixFile::closeAndRemoveBadCopy(), outputHandler::daosFs::writerDaosFs::closeAndRemoveBadCopy(), outputHandler::dcap::dcap(), outputHandler::dcap::doAttributePreservations(), copyRequest::base::doThreadedCopy(), copyRequest::base::doUnthreadedCopy(), followRequestProvider::enqueueOrAppend(), outputHandler::davix::ensureParentDirs(), outputHandler::dcap::ensureParentDirs(), outputHandler::libssh::ensureParentDirs(), outputHandler::posixFile::ensureParentDirs(), outputHandler::daosFs::ensureParentDirs(), followInotifyWatchRequestProvider::followStream(), requestProvider::getDstPath(), posixFileCommon::getStat(), libsshCommon::getVfsStat(), posixFileCommon::getXattr(), gpfsIoCommon::handleParallelUsedBlocks(), copyRequest::base::init(), main(), libsshCommon::openSessions(), printResults(), copyRequest::base::printResults(), copyRequest::base::process(), copyRequest::base::processQueue(), moveRequestProvider::processSource(), policyRunRequestProvider::processSource(), cmdLineRequestProvider::processSource(), followKafkaRequestProvider::processSources(), produceMsg(), libsshCommon::reconnectSessions(), outputHandler::dcap::remove(), outputHandler::libssh::remove(), outputHandler::posixFile::remove(), outputHandler::daosFs::remove(), outputHandler::dcap::rename(), outputHandler::libssh::rename(), outputHandler::posixFile::rename(), outputHandler::daosFs::rename(), outputHandler::libssh::renameSimple(), stopRequest::RequestStop(), copyRequest::base::retry(), messageQueue::kafka::send(), timer::instanceUnscoped::stop(), queuesAndThreads::stopQueue(), inputHandler::daosFs::DaosFsDirectory::~DaosFsDirectory(), inputHandler::davix::DavixDirectory::~DavixDirectory(), inputHandler::dcap::dcapDirectory::~dcapDirectory(), inputHandler::posixFile::PosixDirectory::~PosixDirectory(), inputHandler::daosFs::readerDaosFs::~readerDaosFs(), inputHandler::davix::readerDavix::~readerDavix(), inputHandler::dcap::readerDcap::~readerDcap(), inputHandler::libssh::readerLibssh::~readerLibssh(), inputHandler::posixFile::readerPosixFile::~readerPosixFile(), inputHandler::libssh::SftpDirectory::~SftpDirectory(), outputHandler::daosFs::writerDaosFs::~writerDaosFs(), outputHandler::libssh::writerLibssh::~writerLibssh(), and outputHandler::posixFile::writerPosixFile::~writerPosixFile().