Signed-off-by: Faumaray <faumaray@gmail.com>
This commit is contained in:
19 files changed
+579
-10
No files matched your search
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
#include <Logging/Sink.hpp>
|
||||
#include <mutex>
|
||||
|
||||
namespace vl::logging {
|
||||
|
||||
class ConsoleSink final : public Sink {
|
||||
public:
|
||||
void write(const Message& msg) override;
|
||||
|
||||
private:
|
||||
std::mutex coutMutex_;
|
||||
};
|
||||
|
||||
} // namespace vl::log
|
||||
Reference in new issue
Block a user