![]() |
OpenCAEPoro
v0.5.0
A simulator for multicomponent porous media flow
|
Logging error and warning messages. More...
#include <iomanip>#include <iostream>#include <sstream>Go to the source code of this file.
Macros | |
| #define | __ERRORLOG_HXX__ |
| #define | OCP_LOCATION |
| Print out location at (file, line) and function name. More... | |
| #define | OCP_MESSAGE(msg) |
| Log error messages. More... | |
| #define | OCP_WARNING(msg) |
| Log warning messages. More... | |
| #define | OCP_ABORT(msg) |
| Abort if critical error happens. More... | |
| #define | OCP_ASSERT(cond, msg) |
| Assert condition and log user messages in DEBUG mode. More... | |
| #define | OCP_FUNCNAME |
| Print Function Name. More... | |
Logging error and warning messages.
Copyright (C) 2019–present by the OpenCAEPoro team. All rights reserved.
Definition in file UtilError.hpp.
| #define __ERRORLOG_HXX__ |
indicate ErrorLog.hxx has been included before
Definition at line 13 of file UtilError.hpp.
| #define OCP_ABORT | ( | msg | ) |
Abort if critical error happens.
Definition at line 47 of file UtilError.hpp.
| #define OCP_ASSERT | ( | cond, | |
| msg | |||
| ) |
Assert condition and log user messages in DEBUG mode.
Definition at line 58 of file UtilError.hpp.
| #define OCP_FUNCNAME |
| #define OCP_LOCATION |
Print out location at (file, line) and function name.
Definition at line 21 of file UtilError.hpp.
| #define OCP_MESSAGE | ( | msg | ) |
Log error messages.
Definition at line 28 of file UtilError.hpp.
| #define OCP_WARNING | ( | msg | ) |
Log warning messages.
Definition at line 39 of file UtilError.hpp.