Standard Debug Streams
[Debug output]


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 )


Defines

#define DUNE_MINIMAL_DEBUG_LEVEL   4
 The default minimum debug level.

Typedefs

typedef DebugStream< VERY_VERBOSE_DEBUG_LEVEL,
MINIMAL_DEBUG_LEVEL > 
Dune::DVVerbType
 Type of very verbose debug stream.
typedef DebugStream< VERBOSE_DEBUG_LEVEL,
MINIMAL_DEBUG_LEVEL > 
Dune::DVerbType
 Type of more verbose debug stream.
typedef DebugStream< INFO_DEBUG_LEVEL,
MINIMAL_DEBUG_LEVEL > 
Dune::DInfoType
 Type of debug stream with info level.
typedef DebugStream< WARN_DEBUG_LEVEL,
MINIMAL_DEBUG_LEVEL > 
Dune::DWarnType
 Type of debug stream with warn level.
typedef DebugStream< GRAVE_DEBUG_LEVEL,
MINIMAL_DEBUG_LEVEL > 
Dune::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::VERY_VERBOSE_DEBUG_LEVEL = 1
 The level of the very verbose debug stream.
DVVerbType Dune::dvverb
 stream for very verbose output.
static const DebugLevel Dune::VERBOSE_DEBUG_LEVEL = 2
 The level of the verbose debug stream.
DVerbType Dune::dverb
 Singleton of verbose debug stream.
static const DebugLevel Dune::INFO_DEBUG_LEVEL = 3
 The level of the informative debug stream.
DInfoType Dune::dinfo
 Stream for informative output.
static const DebugLevel Dune::WARN_DEBUG_LEVEL = 4
 The level of the debug stream for warnings.
DWarnType Dune::dwarn
 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
 Stream for warnings indicating fatal errors.
DErrType Dune::derr
 Stream for error messages.

Define 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<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 independant on the debug-level, only the activation-flag is checked.

DInfoType Dune::dinfo

Stream for informative output.

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

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.

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::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

Generated on 9 Apr 2008 with Doxygen (ver 1.5.2) [logfile].