Joedb 10.3.0
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
Destructor_Logger.h
Go to the documentation of this file.
1#ifndef joedb_Destructor_Logger
2#define joedb_Destructor_Logger
3
4#include <string>
5#include <mutex>
6
7namespace joedb
8{
9 class Logger;
10
11 /// @ingroup error
13 {
14 private:
15 static Logger *the_logger;
16 static std::mutex mutex;
17
18 public:
19 static void warning(const std::string &message) noexcept;
20 static void set_logger(Logger *new_logger);
21 static void remove_logger();
22 static void set_logger();
23 };
24}
25
26#endif
static void warning(const std::string &message) noexcept