From 0eb6704edf50c5ae400366873dda3fedb9c5339d Mon Sep 17 00:00:00 2001 From: Pavel Kirienko Date: Tue, 1 Apr 2014 00:49:40 +0400 Subject: [PATCH] ILogSink logging level method made non-pure with default level DEBUG --- libuavcan/include/uavcan/protocol/logger.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libuavcan/include/uavcan/protocol/logger.hpp b/libuavcan/include/uavcan/protocol/logger.hpp index 48bb1c32cd..7aacfc8e41 100644 --- a/libuavcan/include/uavcan/protocol/logger.hpp +++ b/libuavcan/include/uavcan/protocol/logger.hpp @@ -26,7 +26,7 @@ public: /** * Logger will not sink messages with level lower than returned by this method. */ - virtual LogLevel getLogLevel() const = 0; + virtual LogLevel getLogLevel() const { return protocol::debug::LogLevel::DEBUG; } /** * Logger will call this method for every log message with level not less than the current level of this sink.