mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
spdlog
This commit is contained in:
17
include/spdlog/sinks/sink.h
Normal file
17
include/spdlog/sinks/sink.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
#include "../details/log_msg.h"
|
||||
|
||||
namespace spdlog
|
||||
{
|
||||
namespace sinks
|
||||
{
|
||||
class sink
|
||||
{
|
||||
public:
|
||||
virtual ~sink() {}
|
||||
virtual void log(const details::log_msg& msg) = 0;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user