diff options
Diffstat (limited to 'src/uscxml/interpreter/Logging.h')
-rw-r--r-- | src/uscxml/interpreter/Logging.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/uscxml/interpreter/Logging.h b/src/uscxml/interpreter/Logging.h index dd59e95..7221d5b 100644 --- a/src/uscxml/interpreter/Logging.h +++ b/src/uscxml/interpreter/Logging.h @@ -28,8 +28,10 @@ #include <memory> -#define LOG(lvl) uscxml::Logger::getDefault().log(lvl) -#define LOG2(lvl, thing) uscxml::Logger::getDefault().log(lvl, thing); +#define LOG(logger, lvl) logger.log(lvl) +#define LOG2(logger, lvl, thing) logger.log(lvl, thing) +#define LOGD(lvl) uscxml::Logger::getDefault().log(lvl) +#define LOGD2(lvl, thing) uscxml::Logger::getDefault().log(lvl, thing); namespace uscxml { |