Joedb 10.3.0
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
CLog_Logger.h
Go to the documentation of this file.
1#ifndef joedb_CLog_Logger_declared
2#define joedb_CLog_Logger_declared
3
5
6#include <string>
7#include <mutex>
8
9namespace joedb
10{
11 /// @ingroup error
12 class CLog_Logger: public Logger
13 {
14 private:
15 const std::string tag;
16 static std::mutex mutex;
17
18 public:
19 CLog_Logger(std::string tag = "");
20 void log(const std::string &message) noexcept override;
21 };
22}
23
24#endif
void log(const std::string &message) noexcept override