Class null_sink

Synopsis

#include <include/spdlog/sinks/null_sink.h>

template<typename Mutex>
class null_sink : public base_sink<Mutex>

Description

No description yet.

Mentioned in

Inheritance

Ancestors: base_sink

Methods

flush_
sink_it_

Source

Lines 15-21 in include/spdlog/sinks/null_sink.h.

template<typename Mutex>
class null_sink : public base_sink<Mutex>
{
protected:
    void sink_it_(const details::log_msg &) override {}
    void flush_() override {}
};





Add Discussion

Log in to comment