dune-common  2.4.1
Macros | Typedefs | Variables
Standard Debug Streams
Collaboration diagram for Standard Debug Streams:

Macros

#define DUNE_MINIMAL_DEBUG_LEVEL   4
 The default minimum debug level. More...
 

Typedefs

typedef DebugStream
< VERY_VERBOSE_DEBUG_LEVEL,
MINIMAL_DEBUG_LEVEL > 
Dune::DVVerbType
 Type of very verbose debug stream. More...
 
typedef DebugStream
< VERBOSE_DEBUG_LEVEL,
MINIMAL_DEBUG_LEVEL > 
Dune::DVerbType
 Type of more verbose debug stream. More...
 
typedef DebugStream
< INFO_DEBUG_LEVEL,
MINIMAL_DEBUG_LEVEL > 
Dune::DInfoType
 Type of debug stream with info level. More...
 
typedef DebugStream
< WARN_DEBUG_LEVEL,
MINIMAL_DEBUG_LEVEL > 
Dune::DWarnType
 Type of debug stream with warn level. More...
 
typedef DebugStream
< GRAVE_DEBUG_LEVEL,
MINIMAL_DEBUG_LEVEL > 
Dune::DGraveType
 Type of debug stream for fatal errors. More...
 
typedef DebugStream< 1 > Dune::DErrType
 The type of the stream used for error messages. More...
 

Variables

static const DebugLevel Dune::MINIMAL_DEBUG_LEVEL = DUNE_MINIMAL_DEBUG_LEVEL
 
static const DebugLevel Dune::VERY_VERBOSE_DEBUG_LEVEL = 1
 The level of the very verbose debug stream. More...
 
DVVerbType Dune::dvverb (std::cout)
 stream for very verbose output. More...
 
static const DebugLevel Dune::VERBOSE_DEBUG_LEVEL = 2
 The level of the verbose debug stream. More...
 
DVerbType Dune::dverb (std::cout)
 Singleton of verbose debug stream. More...
 
static const DebugLevel Dune::INFO_DEBUG_LEVEL = 3
 The level of the informative debug stream. More...
 
DInfoType Dune::dinfo (std::cout)
 Stream for informative output. More...
 
static const DebugLevel Dune::WARN_DEBUG_LEVEL = 4
 The level of the debug stream for warnings. More...
 
DWarnType Dune::dwarn (std::cerr)
 Stream for warnings indicating problems. More...
 
static const DebugLevel Dune::GRAVE_DEBUG_LEVEL = 5
 The level of the debug stream for fatal errors. More...
 
DGraveType Dune::dgrave (std::cerr)
 Stream for warnings indicating fatal errors. More...
 
DErrType Dune::derr (std::cerr)
 Stream for error messages. More...
 

Detailed Description

Dune defines several standard output streams for the library routines.

Applications may control the standard streams via the attach/detach, push/pop interface but should define an independent set of streams (see Applications )

Macro Definition Documentation

#define DUNE_MINIMAL_DEBUG_LEVEL   4

The default minimum debug level.

If the level of a stream is bigger than this value it will be activated.

Typedef Documentation

typedef DebugStream<1> Dune::DErrType

The type of the stream used for error messages.

typedef DebugStream<GRAVE_DEBUG_LEVEL, MINIMAL_DEBUG_LEVEL> Dune::DGraveType

Type of debug stream for fatal errors.

typedef DebugStream<INFO_DEBUG_LEVEL, MINIMAL_DEBUG_LEVEL> Dune::DInfoType

Type of debug stream with info level.

See also
dinfo
typedef DebugStream<VERBOSE_DEBUG_LEVEL, MINIMAL_DEBUG_LEVEL> Dune::DVerbType

Type of more verbose debug stream.

See also
dverb
typedef DebugStream<VERY_VERBOSE_DEBUG_LEVEL, MINIMAL_DEBUG_LEVEL> Dune::DVVerbType

Type of very verbose debug stream.

See also
dvverb
typedef DebugStream<WARN_DEBUG_LEVEL, MINIMAL_DEBUG_LEVEL> Dune::DWarnType

Type of debug stream with warn level.

See also
dwarn

Variable Documentation

DErrType Dune::derr

Stream for error messages.

Only packages integrating Dune completely will redirect it. The output of derr is independent of the debug-level, only the activation-flag is checked.

DGraveType Dune::dgrave

Stream for warnings indicating fatal errors.

DInfoType Dune::dinfo

Stream for informative output.

Summary infos on what a module does, runtimes, etc.

DVerbType Dune::dverb

Singleton of verbose debug stream.

Referenced by Dune::IndicesSyncer< T >::sync().

DVVerbType Dune::dvverb

stream for very verbose output.

Information on the lowest level. This is expected to report insane amounts of information. Use of the activation-flag to only generate output near the problem is recommended.

DWarnType Dune::dwarn

Stream for warnings indicating problems.

const DebugLevel Dune::GRAVE_DEBUG_LEVEL = 5
static

The level of the debug stream for fatal errors.

See also
dgrave
const DebugLevel Dune::INFO_DEBUG_LEVEL = 3
static

The level of the informative debug stream.

See also
dinfo
const DebugLevel Dune::MINIMAL_DEBUG_LEVEL = DUNE_MINIMAL_DEBUG_LEVEL
static
const DebugLevel Dune::VERBOSE_DEBUG_LEVEL = 2
static

The level of the verbose debug stream.

See also
dvverb
const DebugLevel Dune::VERY_VERBOSE_DEBUG_LEVEL = 1
static

The level of the very verbose debug stream.

See also
dvverb
const DebugLevel Dune::WARN_DEBUG_LEVEL = 4
static

The level of the debug stream for warnings.

See also
dwarn