From a8db304bf1faa2a129dbb02947b2f7b4789528b7 Mon Sep 17 00:00:00 2001 From: tastytea Date: Tue, 1 Jun 2021 15:24:19 +0200 Subject: [PATCH] Add DEBUGLOG macro. Adds the severity and prepends the function name. --- src/log.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/log.hpp b/src/log.hpp index d187ff4..ddebe7c 100644 --- a/src/log.hpp +++ b/src/log.hpp @@ -27,6 +27,7 @@ #include #define LOG(severity) BOOST_LOG_SEV(epubgrep::log::logger::get(), severity) +#define DEBUGLOG LOG(epubgrep::log::sev::debug) << __func__ << "(): " namespace epubgrep::log {