index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaron@archlinux.org> | 2007-01-30 08:14:10 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-01-30 08:14:10 +0000 |
commit | da648bc24cebcf3fff9073693871183fd95d4c92 (patch) | |
tree | 3fbea3f6f396b981f7d4bd3958d0147025d4a191 /lib/libalpm/log.h | |
parent | 195e30e8aa1479bd10bb50de5bd34a69f0a09c9f (diff) |
-rw-r--r-- | lib/libalpm/log.h | 7 |
diff --git a/lib/libalpm/log.h b/lib/libalpm/log.h index 471f4b79..eb0b718d 100644 --- a/lib/libalpm/log.h +++ b/lib/libalpm/log.h @@ -25,6 +25,13 @@ #define LOG_STR_LEN 1024 +#ifdef PACMAN_DEBUG +/* Log funtion entry points if debugging is enabled */ +#define ALPM_LOG_FUNC _alpm_log(PM_LOG_FUNCTION, "Enter %s", __func__) +#else +#define ALPM_LOG_FUNC +#endif + void _alpm_log(pmloglevel_t flag, char *fmt, ...); #endif /* _ALPM_LOG_H */ |