Add DEBUGLOG macro.
Adds the severity and prepends the function name.
This commit is contained in:
parent
580f08b823
commit
a8db304bf1
|
@ -27,6 +27,7 @@
|
|||
#include <boost/smart_ptr/shared_ptr.hpp>
|
||||
|
||||
#define LOG(severity) BOOST_LOG_SEV(epubgrep::log::logger::get(), severity)
|
||||
#define DEBUGLOG LOG(epubgrep::log::sev::debug) << __func__ << "(): "
|
||||
|
||||
namespace epubgrep::log
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user