Permalink
Browse files

Making it easier to disable logging throughout the framework without …

…modify repository files. (issue #40)
  • Loading branch information...
robbiehanson committed May 4, 2012
1 parent efdca3e commit 2d6a5fe80f78865dbdbfda4fe6c905479096b07d
Showing with 2 additions and 0 deletions.
  1. +2 −0 Core/XMPPLogging.h
View
@@ -63,7 +63,9 @@
// Global flag to enable/disable logging throughout the entire xmpp framework.
+#ifndef XMPP_LOGGING_ENABLED
#define XMPP_LOGGING_ENABLED 1
+#endif
// Define logging context for every log message coming from the XMPP framework.
// The logging context can be extracted from the DDLogMessage from within the logging framework.

0 comments on commit 2d6a5fe

Please sign in to comment.