summaryrefslogtreecommitdiff
path: root/lib/libalpm/log.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-06-07 20:55:13 -0400
committerDan McGee <dan@archlinux.org>2007-06-09 12:57:50 -0400
commita32ca90192ea2b2df2fadb820c9e47bbaec93151 (patch)
tree7f105ea98d8fbc52ed978c7efe4a4204e33a22f2 /lib/libalpm/log.h
parentfc93601b9887ec42cd71339099eadc6fb7b775e5 (diff)
downloadpacman-a32ca90192ea2b2df2fadb820c9e47bbaec93151.tar.xz
Remove logmask stuff from backend; switch logging callback to new pm_printf
Remove the logmask functionality from the backend as it has been moved to the frontend, and change the logging callback function to use pm_printf. In addition, make much better use of va_list- use the args list instead of a arbitrarily chosen string to print to in the logging functions. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/log.h')
-rw-r--r--lib/libalpm/log.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libalpm/log.h b/lib/libalpm/log.h
index eb0b718d..2b2a872c 100644
--- a/lib/libalpm/log.h
+++ b/lib/libalpm/log.h
@@ -23,8 +23,6 @@
#include "alpm.h"
-#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__)