spdlog/include/c11log/sinks/sink.h

18 lines
191 B
C
Raw Normal View History

2014-10-10 07:44:12 +08:00
#pragma once
#include "../details/log_msg.h"
namespace c11log
{
namespace sinks
{
2014-10-14 09:26:51 +08:00
class sink
2014-10-10 07:44:12 +08:00
{
public:
2014-10-22 06:16:06 +08:00
virtual ~sink() {}
2014-10-10 07:44:12 +08:00
virtual void log(const details::log_msg& msg) = 0;
};
}
}