spdlog/include/c11log/sinks/isink.h

19 lines
247 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
{
class isink
{
public:
virtual void log(const details::log_msg& msg) = 0;
virtual void enable(bool enabled) = 0;
virtual bool is_enabled() = 0;
};
}
}