]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Externe Variable deallog ergaenzt
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Sat, 22 Aug 1998 16:53:29 +0000 (16:53 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Sat, 22 Aug 1998 16:53:29 +0000 (16:53 +0000)
git-svn-id: https://svn.dealii.org/trunk@505 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/logstream.h

index fb7f9502a587d92199a27a5bcc76901441ffd4b6..8a97998319619ed090b48ce47f1580f826c73d5b 100644 (file)
@@ -93,10 +93,10 @@ template <class T>
 inline void
 writestuff(LogStream& s, const T& t)
 {
-//  if (s.prefixes.size()<=s.std_depth)
-  s.std << t;
-//  if (s.file && (s.prefixes.size()<=s.fil_depth))
-  *(s.file) << t;
+  if (s.prefixes.size()<=s.std_depth)
+    s.std << t;
+  if (s.file && (s.prefixes.size()<=s.fil_depth))
+    *(s.file) << t;
 }
 
 template <class T>
@@ -141,4 +141,6 @@ operator << (LogStream& s, void (*f)(LogStream&))
   return s;
 }
 
+extern LogStream deallog;
+
 #endif

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.