Skip to content

Commit 75c2839

Browse files
authored
Do not log when buffer is empty (#281)
1 parent 864c1af commit 75c2839

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ endif()
3131

3232
# Define project
3333
project(Monitoring
34-
VERSION 3.10.1
34+
VERSION 3.11.1
3535
DESCRIPTION "O2 Monitoring library"
3636
LANGUAGES CXX
3737
)

src/Monitoring.cxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ void Monitoring::flushBuffer()
6262
}
6363
for (auto& [verbosity, buffer] : mStorage) {
6464
if (buffer.empty()) {
65-
MonLogger::Get() << "Not flushing empty buffer" << MonLogger::End();
6665
continue;
6766
}
6867
for (auto& backend : mBackends) {

0 commit comments

Comments
 (0)