mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-26 10:31:34 +08:00
19 lines
247 B
C++
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;
|
|
};
|
|
}
|
|
}
|
|
|