]> https://gitweb.dealii.org/ - dealii.git/commitdiff
make 0 the default for deallog.depth_console
authorTimo Heister <timo.heister@gmail.com>
Sun, 6 Dec 2015 15:34:40 +0000 (10:34 -0500)
committerTimo Heister <timo.heister@gmail.com>
Sun, 6 Dec 2015 18:47:08 +0000 (13:47 -0500)
Disable printing deallog output to the screen by default.

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

index 70fdd549f2caf731fcf7abb2843c8befff7bea71..5703f1bca318bee41c6a7c2c58881b24e748e4ae 100644 (file)
@@ -247,7 +247,8 @@ public:
 
 
   /**
-   * Maximum number of levels to be printed on the console. This function
+   * Maximum number of levels to be printed on the console. The default is 0,
+   * which will not generate any output. This function
    * allows one to restrict console output to the highest levels of
    * iterations. Only output with less than <tt>n</tt> prefixes is
    * printed. By calling this function with <tt>n=0</tt>, no console output
index a12bed485ec3b21e7fa1fa5908c63e02311a1b13..cb69e64a9d40d36b0f95ebb23d74d824a1c07f85 100644 (file)
@@ -49,7 +49,7 @@ LogStream::LogStream()
   :
   std_out(&std::cerr),
   file(0),
-  std_depth(10000),
+  std_depth(0),
   file_depth(10000),
   print_utime(false),
   diff_utime(false),

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.