Skip to content
Snippets Groups Projects
Commit 56b8036d authored by Nicolas Schwenck's avatar Nicolas Schwenck
Browse files

extended information about Dune-debug output stream.

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@4436 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent f833ca3b
No related branches found
No related tags found
No related merge requests found
...@@ -33,11 +33,11 @@ This approach really helps keeping the bumps in the work-flow small. ...@@ -33,11 +33,11 @@ This approach really helps keeping the bumps in the work-flow small.
May be if you are really in the dark you want to see all your debug information. Another time you may only want to be warned if something is going seriously wrong during a simulation. May be if you are really in the dark you want to see all your debug information. Another time you may only want to be warned if something is going seriously wrong during a simulation.
This can be achieved by setting the debug streams to desired values. There are 5 levels: This can be achieved by setting the debug streams to desired values. There are 5 levels:
\begin{verbatim} \begin{verbatim}
5 - grave 5 - grave (dgrave)
4 - warning 4 - warning (dwarn)
3 - info 3 - info (dinfo)
2 - verbose 2 - verbose (dverb)
1 - very verbose 1 - very verbose (dvverb)
\end{verbatim} \end{verbatim}
Which are used as follows: Which are used as follows:
...@@ -48,7 +48,7 @@ The debug streams are switched on/off via setting \\ ...@@ -48,7 +48,7 @@ The debug streams are switched on/off via setting \\
\verb+#define DUNE_MINIMAL_DEBUG_LEVEL 4 + \\ \verb+#define DUNE_MINIMAL_DEBUG_LEVEL 4 + \\
in \\ in \\
\verb+dumux-devel/config.h+ \\ \verb+dumux-devel/config.h+ \\
to the desired value and recompiling your application. E.g. if the value is set to 4 the out put generated after \verb+Dune::dinfo+ will printed anywhere. to the desired value and recompiling your application. E.g. if the value is set to 4 the out put generated after \verb+Dune::dinfo+ (level 4 and 5) will printed anywhere.
\item filename / line number predefined macro: \item filename / line number predefined macro:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment