We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13b03e4 commit 3aa283cCopy full SHA for 3aa283c
src/Monitoring.cxx
@@ -60,8 +60,12 @@ void Monitoring::flushBuffer() {
60
61
void Monitoring::flushBuffer(const short index)
62
{
63
- transmit(std::move(mStorage[index]));
64
- mStorage[index].clear();
+ for (auto& backend : mBackends) {
+ if (matchVerbosity(backend->getVerbosity(), static_cast<Verbosity>(index))) {
65
+ backend->send(std::move(mStorage[index]));
66
+ mStorage[index].clear();
67
+ }
68
69
}
70
71
void Monitoring::enableProcessMonitoring(const unsigned int interval) {
0 commit comments