Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Timo Koch
dune-common
Commits
f640eaf9
Commit
f640eaf9
authored
19 years ago
by
Markus Blatt
Browse files
Options
Downloads
Patches
Plain Diff
Made Identifiers of Debug levels available.
[[Imported from SVN: r3209]]
parent
72b50682
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/stdstreams.hh
+54
-11
54 additions, 11 deletions
common/stdstreams.hh
with
54 additions
and
11 deletions
common/stdstreams.hh
+
54
−
11
View file @
f640eaf9
...
...
@@ -63,8 +63,17 @@ namespace Dune {
*/
static
const
DebugLevel
MINIMAL_DEBUG_LEVEL
=
4
;
/** @brief Type of very verbose debug stream. */
typedef
DebugStream
<
1
,
MINIMAL_DEBUG_LEVEL
>
DVVerbType
;
/**
* @brief The level of the very verbose debug stream.
* @see dvverb
*/
static
const
DebugLevel
VERY_VERBOSE_DEBUG_LEVEL
=
1
;
/**
@brief Type of very verbose debug stream.
@see dvverb
*/
typedef
DebugStream
<
VERY_VERBOSE_DEBUG_LEVEL
,
MINIMAL_DEBUG_LEVEL
>
DVVerbType
;
/*!
\brief stream for very verbose output.
...
...
@@ -76,13 +85,32 @@ namespace Dune {
*/
extern
DVVerbType
dvverb
;
/** @brief Type of more verbose debug stream.*/
typedef
DebugStream
<
2
,
MINIMAL_DEBUG_LEVEL
>
DVerbType
;
/** @brief Singleton of more verbose debug stream. */
/**
* @brief The level of the verbose debug stream.
* @see dvverb
*/
static
const
DebugLevel
VERBOSE_DEBUG_LEVEL
=
2
;
/**
@brief Type of more verbose debug stream.
@see dverb
*/
typedef
DebugStream
<
VERBOSE_DEBUG_LEVEL
,
MINIMAL_DEBUG_LEVEL
>
DVerbType
;
/** @brief Singleton of verbose debug stream. */
extern
DVerbType
dverb
;
/** @brief Type of debug stream with info level.*/
typedef
DebugStream
<
3
,
MINIMAL_DEBUG_LEVEL
>
DInfoType
;
/**
* @brief The level of the informative debug stream.
* @see dinfo
*/
static
const
DebugLevel
INFO_DEBUG_LEVEL
=
3
;
/**
@brief Type of debug stream with info level.
@see dinfo
*/
typedef
DebugStream
<
INFO_DEBUG_LEVEL
,
MINIMAL_DEBUG_LEVEL
>
DInfoType
;
/**
@brief Stream for informative output.
...
...
@@ -92,19 +120,34 @@ namespace Dune {
*/
extern
DInfoType
dinfo
;
/** @brief Type of debug stream with warn level.*/
typedef
DebugStream
<
4
,
MINIMAL_DEBUG_LEVEL
>
DWarnType
;
/**
* @brief The level of the debug stream for warnings.
* @see dwarn
*/
static
const
DebugLevel
WARN_DEBUG_LEVEL
=
4
;
/**
@brief Type of debug stream with warn level.
@see dwarn
*/
typedef
DebugStream
<
WARN_DEBUG_LEVEL
,
MINIMAL_DEBUG_LEVEL
>
DWarnType
;
/** @brief Stream for warnings indicating problems. */
extern
DWarnType
dwarn
;
/**
* @brief The level of the debug stream for fatal errors.
* @see dgrave
*/
static
const
DebugLevel
GRAVE_DEBUG_LEVEL
=
5
;
/** @brief Type of debug stream for fatal errors.*/
typedef
DebugStream
<
5
,
MINIMAL_DEBUG_LEVEL
>
DGraveType
;
typedef
DebugStream
<
GRAVE_DEBUG_LEVEL
,
MINIMAL_DEBUG_LEVEL
>
DGraveType
;
/** @brief Stream for warnings indicating fatal errors.*/
extern
DGraveType
dgrave
;
/** @brief The type of the stream used for error message
d
. */
/** @brief The type of the stream used for error message
s
. */
typedef
DebugStream
<
1
>
DErrType
;
/*!
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment