11 static const size_t MAX_PREFIX_SIZE = 100;
14 static char prefix_[MAX_PREFIX_SIZE] =
"";
15 static FILE *outfile_ = stdout;
17 static const int MAX_BUFFER_SIZE = 1000;
18 static char buffer_[MAX_BUFFER_SIZE] =
"";
26 verbosity_ = verbosity;
31 strncpy(prefix_, prefix, MAX_PREFIX_SIZE);
32 prefix_[MAX_PREFIX_SIZE-1] =
'\0';
41 static std::stack<QudaVerbosity> vstack;
48 if (vstack.size() > 10) {
49 warningQuda(
"Verbosity stack contains %u elements. Is there a missing popVerbosity() somewhere?",
50 static_cast<unsigned int>(vstack.size()));
57 errorQuda(
"popVerbosity() called with empty stack");