]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/log.cpp
Enforce hiding nametag
[dragonfireclient.git] / src / log.cpp
index 398c89eb0bb51b346ff605239e47232de41e17ae..e6d80db34e2a0a9747a3e34dc684f9b96a999fdf 100644 (file)
@@ -30,6 +30,20 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "porting.h"
 #include "config.h"
 
+// Connection
+std::ostream *dout_con_ptr = &dummyout;
+std::ostream *derr_con_ptr = &verbosestream;
+
+// Server
+std::ostream *dout_server_ptr = &infostream;
+std::ostream *derr_server_ptr = &errorstream;
+
+#ifndef SERVER
+// Client
+std::ostream *dout_client_ptr = &infostream;
+std::ostream *derr_client_ptr = &errorstream;
+#endif
+
 #ifdef __ANDROID__
 unsigned int android_log_level_mapping[] = {
                /* LMT_ERROR */   ANDROID_LOG_ERROR,