From: Alasdair Kergon Date: Fri, 10 Jun 2005 22:08:51 +0000 (+0000) Subject: add stack macro X-Git-Tag: v1_01_03~2 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=c8fc542fdb5f6aea6dcda258781d64d2e029cc2a;p=dm.git add stack macro --- diff --git a/include/log.h b/include/log.h index bf7a797..d9ad1e0 100644 --- a/include/log.h +++ b/include/log.h @@ -35,4 +35,6 @@ extern dm_log_fn _log; #define log_very_verbose(x...) plog(_LOG_INFO, x) #define log_debug(x...) plog(_LOG_DEBUG, x) +#define stack log_debug("") /* Backtrace on error */ + #endif