Skip to content
Snippets Groups Projects
stdstreams.cc 1.24 KiB
Newer Older
  • Learn to ignore specific revisions
  • // -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
    // vi: set et ts=4 sw=2 sts=2:
    // $Id$
    
    
    #ifdef HAVE_CONFIG_H
    #include "config.h"
    #endif
    
    
    #include "stdstreams.hh"
    
    namespace Dune {
    
    
    Markus Blatt's avatar
    Markus Blatt committed
      /*
    
         The standard debug streams declared in stdstreams.hh exist in this
         file so that they can be compiled into libdune
    
       */
    
    
    Markus Blatt's avatar
    Markus Blatt committed
      /* 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 */
      DVVerbType dvverb(std::cout);
    
    
    Markus Blatt's avatar
    Markus Blatt committed
      /* stream for verbose output: information that helps to trace in
    
         more detail what the modules do */
      DVerbType dverb(std::cout);
    
    
    Markus Blatt's avatar
    Markus Blatt committed
      /* stream for informative output: summary infos on what a module
    
         does, runtimes, etc. */
      DInfoType dinfo(std::cout);
    
    
    Markus Blatt's avatar
    Markus Blatt committed
      /* stream for warnings: messages which may indicate problems */
    
    Markus Blatt's avatar
    Markus Blatt committed
      /* stream for strong warnings: when a failure */
    
    Markus Blatt's avatar
    Markus Blatt committed
      /* stream for error messages: only packages integrating Dune
    
    Oliver Sander's avatar
    Oliver Sander committed
         completely will redirect it. The output of derr is independent of
    
         the debug-level, only the activation-flag is checked */
      DErrType derr(std::cerr);