updated example and added more creation functions

This commit is contained in:
gabi
2014-10-31 03:17:40 +02:00
parent c7b8c762fb
commit 31971bf63b
14 changed files with 272 additions and 165 deletions

View File

@@ -41,10 +41,10 @@ inline const char* to_str(spdlog::level::level_enum l)
//
// Log exception
//
class fflog_exception : public std::exception
class spdlog_ex : public std::exception
{
public:
fflog_exception(const std::string& msg) :_msg(msg) {};
spdlog_ex(const std::string& msg) :_msg(msg) {};
const char* what() const throw() override {
return _msg.c_str();
}