mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
returned fast_oss with optimizations
This commit is contained in:
@@ -6,9 +6,12 @@
|
||||
#include "../formatter.h"
|
||||
#include "../common_types.h"
|
||||
|
||||
namespace c11log {
|
||||
namespace sinks {
|
||||
class base_sink {
|
||||
namespace c11log
|
||||
{
|
||||
namespace sinks
|
||||
{
|
||||
class base_sink
|
||||
{
|
||||
public:
|
||||
base_sink() = default;
|
||||
base_sink(level::level_enum l):_level(l) {
|
||||
@@ -33,7 +36,8 @@ protected:
|
||||
std::atomic<int> _level {level::INFO};
|
||||
};
|
||||
|
||||
class null_sink:public base_sink {
|
||||
class null_sink:public base_sink
|
||||
{
|
||||
protected:
|
||||
void _sink_it(const std::string& ) override {
|
||||
}
|
||||
|
Reference in New Issue
Block a user