From 7219c52777b1624d5d1781d44b3e5d7d578ee3e2 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Sun, 6 Dec 2015 10:34:40 -0500 Subject: [PATCH] make 0 the default for deallog.depth_console Disable printing deallog output to the screen by default. --- include/deal.II/base/logstream.h | 3 ++- source/base/logstream.cc | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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), -- 2.39.5