more moving to new logging standard
[citadel.git] / citadel / context.h
index cde77f496f5b278c5f658a4a5aa60bd82da273aa..755d1998b4b9db062e0305e403cfe06b5930ad40 100644 (file)
@@ -207,18 +207,5 @@ static INLINE void become_session(CitContext *which_con) {
 
 
 
-/* typedef void (*CtdlDbgFunction) (const int); */
-
-extern int DebugSession;
-#define CONDBGLOG(LEVEL) if ((LEVEL != LOG_DEBUG) || (DebugSession != 0))
-
-#define CON_syslog(LEVEL, FORMAT, ...)                                 \
-       CONDBGLOG(LEVEL) syslog(LEVEL,                                  \
-                               "%s Context: " FORMAT, IOSTR, __VA_ARGS__)
-
-#define CONM_syslog(LEVEL, FORMAT)                             \
-       CONDBGLOG(LEVEL) syslog(LEVEL,                          \
-                               "%s Context: " FORMAT, IOSTR);
-
 
 #endif /* CONTEXT_H */