|
MGIS
|
#include <iosfwd>#include <string>#include <memory>#include <utility>#include <string_view>#include "MGIS/Config.hxx"#include "MGIS/LogStream.ixx"Namespaces | |
| namespace | mgis |
the namespace mgis encloses all the MGIS project. | |
Enumerations | |
| enum struct | mgis::OutputStreamColors { BLACK , RED , GREEN , YELLOW , BLUE , PURPLE , LIGHTBLUE , WHITE , RESET } |
| list of available colors for output stream More... | |
Functions | |
| MGIS_EXPORT std::ostream & | mgis::getDefaultLogStream () noexcept |
| MGIS_EXPORT std::pair< bool, std::string > | mgis::setDefaultLogStream (std::string_view) noexcept |
| set the default log stream as a file. | |
| MGIS_EXPORT void | mgis::setDefaultLogStream (std::ostream &) noexcept |
| set the default log stream from an exisiting output stream | |
| MGIS_EXPORT void | mgis::setDefaultLogStream (std::shared_ptr< std::ostream >) noexcept |
| set the default log stream from an exisiting output stream | |
| MGIS_EXPORT void | mgis::resetDefaultLogStream () noexcept |
| reset the default log stream | |
| MGIS_EXPORT void | mgis::disableDefaultLogStream () noexcept |
| disable the default log stream | |
| MGIS_EXPORT void | mgis::setStreamColor (std::ostream &, const OutputStreamColors) noexcept |
| change the color of the output for warnings for red | |
| MGIS_EXPORT void | mgis::resetStreamColor (std::ostream &) noexcept |
| reset the color of the output | |
| template<typename... Args> | |
| void | mgis::warning (std::ostream &, Args &&...) noexcept |
| print a warning message | |
| template<typename... Args> | |
| void | mgis::debug (std::ostream &, Args &&...) noexcept |
| print message for debugging | |
| MGIS_EXPORT void | mgis::setErrorColor (std::ostream &) noexcept |
| MGIS_EXPORT void | mgis::setWarningColor (std::ostream &) noexcept |