00001 // $Id: stdstreams.hh 5009 2007-10-30 17:21:11Z christi $ 00002 00003 /* 00004 00005 Declaration of standard Dune-library streams 00006 00007 */ 00008 00009 #ifndef DUNE_COMMON_STDSTREAMS_HH 00010 #define DUNE_COMMON_STDSTREAMS_HH 00011 00012 #include "debugstream.hh" 00013 00014 namespace Dune { 00015 00066 #ifndef DUNE_MINIMAL_DEBUG_LEVEL 00067 #define DUNE_MINIMAL_DEBUG_LEVEL 4 00068 #endif 00069 static const DebugLevel MINIMAL_DEBUG_LEVEL = DUNE_MINIMAL_DEBUG_LEVEL; 00070 00075 static const DebugLevel VERY_VERBOSE_DEBUG_LEVEL = 1; 00076 00081 typedef DebugStream<VERY_VERBOSE_DEBUG_LEVEL, MINIMAL_DEBUG_LEVEL> DVVerbType; 00082 00091 extern DVVerbType dvverb; 00092 00097 static const DebugLevel VERBOSE_DEBUG_LEVEL = 2; 00098 00103 typedef DebugStream<VERBOSE_DEBUG_LEVEL, MINIMAL_DEBUG_LEVEL> DVerbType; 00104 00106 extern DVerbType dverb; 00107 00112 static const DebugLevel INFO_DEBUG_LEVEL = 3; 00113 00118 typedef DebugStream<INFO_DEBUG_LEVEL, MINIMAL_DEBUG_LEVEL> DInfoType; 00119 00126 extern DInfoType dinfo; 00127 00132 static const DebugLevel WARN_DEBUG_LEVEL = 4; 00133 00138 typedef DebugStream<WARN_DEBUG_LEVEL, MINIMAL_DEBUG_LEVEL> DWarnType; 00139 00141 extern DWarnType dwarn; 00142 00147 static const DebugLevel GRAVE_DEBUG_LEVEL = 5; 00148 00150 typedef DebugStream<GRAVE_DEBUG_LEVEL, MINIMAL_DEBUG_LEVEL> DGraveType; 00151 00153 extern DGraveType dgrave; 00154 00156 typedef DebugStream<1> DErrType; 00157 00165 extern DErrType derr; 00166 00168 } 00169 00170 #endif