LifeV
LifeDebug.cpp File Reference

Classes for debugging. More...

#include <algorithm>
#include <cstdlib>
#include <cstring>
#include <errno.h>
#include <fstream>
#include <iterator>
#include <boost/lexical_cast.hpp>
#include <lifev/core/LifeV.hpp>
#include <lifev/core/util/LifeDebug.hpp>
+ Include dependency graph for LifeDebug.cpp:

Go to the source code of this file.

Data Structures

struct  DebugStream::Private
 

Namespaces

 LifeV
 Default Physical Solver.
 
 LifeV::anonymous_namespace{LifeDebug.cpp}
 

Enumerations

enum  DebugLevels { DEBUG_INFO = 0, DEBUG_WARN = 1, DEBUG_ERROR = 2, DEBUG_FATAL = 3 }
 

Functions

void initDebugAreas ()
 
std::string getDescription (unsigned int area)
 
DebugStream Warning (int area=0)
 
DebugStream Warning (bool cond, int area=0)
 
DebugStream Error (int area=0)
 
DebugStream Error (bool cond, int area=0)
 
DebugStream Fatal (int area=0)
 
DebugStream Fatal (bool cond, int area=0)
 
LifeV::DebugStreamperror (LifeV::DebugStream &s)
 
LifeV::DebugStreamendl (LifeV::DebugStream &s)
 
LifeV::DebugStreamflush (LifeV::DebugStream &s)
 

Variables

static std::map< unsigned int, std::string > * DebugAreas = 0
 
static std::string * StringNull = 0
 
static std::list< int > * AREAS
 
static std::string * DEBUG_AREA = 0
 

Detailed Description

Classes for debugging.

Date
13-12-2010
Author
Christophe Prud'homme chris.nosp@m.toph.nosp@m.e.pru.nosp@m.dhom.nosp@m.me@ep.nosp@m.fl.c.nosp@m.h
Maintainer:
Radu Popescu radu..nosp@m.pope.nosp@m.scu@e.nosp@m.pfl..nosp@m.ch

Definition in file LifeDebug.cpp.

Function Documentation

◆ perror()

Definition at line 489 of file LifeDebug.cpp.

◆ endl()

Definition at line 495 of file LifeDebug.cpp.

◆ flush()

Definition at line 501 of file LifeDebug.cpp.