9 #ifndef BLOCKFACTORY_CORE_LOG_H 10 #define BLOCKFACTORY_CORE_LOG_H 17 #define BF_LOG_VERBOSITY blockfactory::core::Log::Verbosity::RELEASE 19 #define BF_LOG_VERBOSITY blockfactory::core::Log::Verbosity::DEBUG 24 blockfactory::core::Log::getSingleton().getLogStringStream( \ 25 blockfactory::core::Log::Type::ERROR, __FILE__, __LINE__, __FUNCTION__) 30 blockfactory::core::Log::getSingleton().getLogStringStream( \ 31 blockfactory::core::Log::Type::WARNING, __FILE__, __LINE__, __FUNCTION__) 61 #ifndef DOXYGEN_SHOULD_SKIP_THIS 63 std::unique_ptr<impl> pImpl;
89 const std::string& file,
91 const std::string&
function);
121 #endif // BLOCKFACTORY_CORE_LOG_H void clearErrors()
Clear the stored error messages.
Verbosity
Definition: Log.h:54
void clearWarnings()
Clear the stored warning messages.
void clear()
Clear all the stored log messages.
std::stringstream & getLogStringStream(const Type &type, const std::string &file, const unsigned &line, const std::string &function)
Get the stringstream object for adding log messages.
Class for handling log messages.
Definition: Log.h:45
static blockfactory::core::Log & getSingleton()
Get the Log singleton.
std::string getWarnings() const
Get the stored warning messages.
std::string getErrors() const
Get the stored error messages.