spdlog/include/c11log/sinks/isink.h
2014-10-10 02:44:12 +03:00

19 lines
247 B
C++

#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;
};
}
}