1 #ifndef L1Trigger_Phase2L1ParticleFlow_dbgPrintf_h 2 #define L1Trigger_Phase2L1ParticleFlow_dbgPrintf_h 11 template <
typename... Args>
12 inline void dbgPrintf(
const char *formatString, Args &&...
args) {
15 int ret = snprintf(buff, 1023, formatString, std::forward<Args>(
args)...);
16 if (
ret > 0 &&
ret < 1023 && buff[
ret - 1] ==
'\n')
21 #else // outside CMSSW: just use std::cout and printf 28 template <
typename... Args>
30 printf(formatString, std::forward<Args>(
args)...);
ret
prodAgent to be discontinued
void dbgPrintf(const char *formatString, Args &&...args)
Log< level::Warning, true > LogPrint
Log< level::Error, true > LogProblem