dune-common 2.9.0
Loading...
Searching...
No Matches
Macros | Typedefs | Variables
Standard Debug Streams
Collaboration diagram for Standard Debug Streams:

Macros

#define DUNE_MINIMAL_DEBUG_LEVEL   4
 The default minimum debug level.
 

Typedefs

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

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

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

◆ DUNE_MINIMAL_DEBUG_LEVEL

#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

◆ DErrType

The type of the stream used for error messages.

◆ DGraveType

Type of debug stream for fatal errors.

◆ DInfoType

Type of debug stream with info level.

See also
dinfo

◆ DVerbType

Type of more verbose debug stream.

See also
dverb

◆ DVVerbType

Type of very verbose debug stream.

See also
dvverb

◆ DWarnType

Type of debug stream with warn level.

See also
dwarn

Variable Documentation

◆ derr

DErrType Dune::derr ( std::cerr  )

Stream for error messages.

Standard Dune debug streams.

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

◆ dgrave

DGraveType Dune::dgrave ( std::cerr  )

Stream for warnings indicating fatal errors.

◆ dinfo

DInfoType Dune::dinfo ( std::cout  )

Stream for informative output.

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

◆ dverb

DVerbType Dune::dverb ( std::cout  )

Singleton of verbose debug stream.

◆ dvverb

DVVerbType Dune::dvverb ( std::cout  )

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.

◆ dwarn

DWarnType Dune::dwarn ( std::cerr  )

Stream for warnings indicating problems.

◆ GRAVE_DEBUG_LEVEL

const DebugLevel Dune::GRAVE_DEBUG_LEVEL = 5
static

The level of the debug stream for fatal errors.

See also
dgrave

◆ INFO_DEBUG_LEVEL

const DebugLevel Dune::INFO_DEBUG_LEVEL = 3
static

The level of the informative debug stream.

See also
dinfo

◆ MINIMAL_DEBUG_LEVEL

const DebugLevel Dune::MINIMAL_DEBUG_LEVEL = DUNE_MINIMAL_DEBUG_LEVEL
static

◆ VERBOSE_DEBUG_LEVEL

const DebugLevel Dune::VERBOSE_DEBUG_LEVEL = 2
static

The level of the verbose debug stream.

See also
dvverb

◆ VERY_VERBOSE_DEBUG_LEVEL

const DebugLevel Dune::VERY_VERBOSE_DEBUG_LEVEL = 1
static

The level of the very verbose debug stream.

See also
dvverb

◆ WARN_DEBUG_LEVEL

const DebugLevel Dune::WARN_DEBUG_LEVEL = 4
static

The level of the debug stream for warnings.

See also
dwarn