spdlog/include/c11log/sinks/isink.h

19 lines
247 B
C
Raw Normal View History

2014-10-09 19:44:12 -04: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;
};
}
}