K-T
I wanted to run this by you... I am replacing structures like this:
std::copy(params.begin(), params.end(),
std::ostream_iterator<std::string>(LOG_STRM(Info),", "));
with:
if (LOG_CHECK_LVL(LOG_DEFAULT_NAME(), LOG_LVL_INFO)) {
std::strstream ss;
std::copy(params.begin(), params.end(),
std::ostream_iterator<std::string>(ss,", "));
LOGF_INFO(ss.str());
}
The above example is from core/modules/parser/WhereFactory.cc
How does it sound? Do you have a better suggestion?
Thanks,
Jacek
########################################################################
Use REPLY-ALL to reply to list
To unsubscribe from the QSERV-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1
|