null_sink.h
Go to the documentation of this file.
1 //
2 // Copyright(c) 2015 Gabi Melman.
3 // Distributed under the MIT License (http://opensource.org/licenses/MIT)
4 //
5 
6 #pragma once
7 
10 
11 #include <mutex>
12 
13 namespace spdlog
14 {
15 namespace sinks
16 {
17 
18 template <class Mutex>
19 class null_sink : public base_sink < Mutex >
20 {
21 protected:
22  void _sink_it(const details::log_msg&) override
23  {}
24 
25  void _flush() override
26  {}
27 
28 };
31 
32 }
33 }
34 
null_sink< details::null_mutex > null_sink_st
Definition: null_sink.h:29
void _flush() override
Definition: null_sink.h:25
null_sink< details::null_mutex > null_sink_mt
Definition: null_sink.h:30
void _sink_it(const details::log_msg &) override
Definition: null_sink.h:22


ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Tue Jan 19 2021 03:12:07