From 63e7850ad3331d6289fcb5682f5b34be9b5315b8 Mon Sep 17 00:00:00 2001 From: Alexey Rybalchenko Date: Thu, 9 Jul 2020 14:01:44 +0200 Subject: [PATCH] Throw if removing non-existing sink or adding existing --- logger/Logger.cxx | 2 ++ logger/Logger.h | 1 + 2 files changed, 3 insertions(+) diff --git a/logger/Logger.cxx b/logger/Logger.cxx index 27ec2e1..fb11506 100644 --- a/logger/Logger.cxx +++ b/logger/Logger.cxx @@ -577,6 +577,7 @@ void Logger::AddCustomSink(const string& key, Severity severity, function #include #include +#include #include #include // time_t #include // is_same