From cae51a05a1c5d39727aeb71d84e4e396f1001007 Mon Sep 17 00:00:00 2001
From: Felix Albrecht <felix.albrecht@uni-muenster.de>
Date: Wed, 1 Aug 2012 16:09:24 +0200
Subject: [PATCH] [stuff.common.logging] added method to obtain an empty stream

---
 dune/stuff/common/logging.hh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dune/stuff/common/logging.hh b/dune/stuff/common/logging.hh
index bb0fa2e96..03c02f93b 100644
--- a/dune/stuff/common/logging.hh
+++ b/dune/stuff/common/logging.hh
@@ -207,6 +207,10 @@ public:
   {
     return getStream(LOG_DEBUG);
   }
+  LogStream& devnull()
+  {
+    return emptyLogStream_;
+  }
   LogStream& matlab()
   {
     if (matlabLogStreamPtr)
-- 
GitLab