dune-common 2.8.0
Loading...
Searching...
No Matches
stdstreams.hh
Go to the documentation of this file.
1// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2// vi: set et ts=4 sw=2 sts=2:
3
13#ifndef DUNE_COMMON_STDSTREAMS_HH
14#define DUNE_COMMON_STDSTREAMS_HH
15
16#include "debugstream.hh"
17
18namespace Dune {
19
64#ifndef DUNE_MINIMAL_DEBUG_LEVEL
65#define DUNE_MINIMAL_DEBUG_LEVEL 4
66#endif
68
74
80
93 extern DVVerbType dvverb;
94
100
106
114 extern DVerbType dverb;
115
120 static const DebugLevel INFO_DEBUG_LEVEL = 3;
121
127
138 extern DInfoType dinfo;
139
144 static const DebugLevel WARN_DEBUG_LEVEL = 4;
145
151
159 extern DWarnType dwarn;
160
166
169
177 extern DGraveType dgrave;
178
181
193 extern DErrType derr;
194
196}
197
198#endif
Defines several output streams for messages of different importance.
unsigned int DebugLevel
Type for debug levels.
Definition debugstream.hh:116
DebugStream< VERY_VERBOSE_DEBUG_LEVEL, MINIMAL_DEBUG_LEVEL > DVVerbType
Type of very verbose debug stream.
Definition stdstreams.hh:79
DErrType derr
Stream for error messages.
DebugStream< WARN_DEBUG_LEVEL, MINIMAL_DEBUG_LEVEL > DWarnType
Type of debug stream with warn level.
Definition stdstreams.hh:150
static const DebugLevel MINIMAL_DEBUG_LEVEL
Definition stdstreams.hh:67
#define DUNE_MINIMAL_DEBUG_LEVEL
The default minimum debug level.
Definition stdstreams.hh:65
static const DebugLevel VERY_VERBOSE_DEBUG_LEVEL
The level of the very verbose debug stream.
Definition stdstreams.hh:73
DVVerbType dvverb
stream for very verbose output.
static const DebugLevel GRAVE_DEBUG_LEVEL
The level of the debug stream for fatal errors.
Definition stdstreams.hh:165
DVerbType dverb
Singleton of verbose debug stream.
DebugStream< VERBOSE_DEBUG_LEVEL, MINIMAL_DEBUG_LEVEL > DVerbType
Type of more verbose debug stream.
Definition stdstreams.hh:105
DebugStream< GRAVE_DEBUG_LEVEL, MINIMAL_DEBUG_LEVEL > DGraveType
Type of debug stream for fatal errors.
Definition stdstreams.hh:168
DebugStream< 1 > DErrType
The type of the stream used for error messages.
Definition stdstreams.hh:180
DWarnType dwarn
Stream for warnings indicating problems.
static const DebugLevel INFO_DEBUG_LEVEL
The level of the informative debug stream.
Definition stdstreams.hh:120
DebugStream< INFO_DEBUG_LEVEL, MINIMAL_DEBUG_LEVEL > DInfoType
Type of debug stream with info level.
Definition stdstreams.hh:126
DGraveType dgrave
Stream for warnings indicating fatal errors.
static const DebugLevel VERBOSE_DEBUG_LEVEL
The level of the verbose debug stream.
Definition stdstreams.hh:99
DInfoType dinfo
Stream for informative output.
static const DebugLevel WARN_DEBUG_LEVEL
The level of the debug stream for warnings.
Definition stdstreams.hh:144
Dune namespace.
Definition alignedallocator.hh:11
Generic class to implement debug output streams.
Definition debugstream.hh:190