From: Timo Heister Date: Sun, 6 Dec 2015 15:34:40 +0000 (-0500) Subject: make 0 the default for deallog.depth_console X-Git-Tag: v8.4.0-rc2~173^2~9 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7219c52777b1624d5d1781d44b3e5d7d578ee3e2;p=dealii.git make 0 the default for deallog.depth_console Disable printing deallog output to the screen by default. --- diff --git a/include/deal.II/base/logstream.h b/include/deal.II/base/logstream.h index 70fdd549f2..5703f1bca3 100644 --- a/include/deal.II/base/logstream.h +++ b/include/deal.II/base/logstream.h @@ -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 n prefixes is * printed. By calling this function with n=0, no console output diff --git a/source/base/logstream.cc b/source/base/logstream.cc index a12bed485e..cb69e64a9d 100644 --- a/source/base/logstream.cc +++ b/source/base/logstream.cc @@ -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),