Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
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
8
#
include
"base_sink.h"
9
#
include
"../details/null_mutex.h"
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
};
29
typedef
null_sink
<
details
::
null_mutex
>
null_sink_st
;
30
typedef
null_sink
<
details
::
null_mutex
>
null_sink_mt
;
31
32
}
33
}
spdlog::sinks::base_sink
Definition
base_sink.h:26
spdlog::sinks::null_sink
Definition
null_sink.h:20
spdlog::sinks::null_sink::_sink_it
void _sink_it(const details::log_msg &) override
Definition
null_sink.h:22
spdlog::sinks::null_sink::_flush
void _flush() override
Definition
null_sink.h:25
spdlog::details
Definition
common.h:127
spdlog::sinks
Definition
common.h:55
spdlog::sinks::null_sink_st
null_sink< details::null_mutex > null_sink_st
Definition
null_sink.h:29
spdlog::sinks::null_sink_mt
null_sink< details::null_mutex > null_sink_mt
Definition
null_sink.h:30
spdlog
Definition
spdlog.h:22
spdlog::details::log_msg
Definition
log_msg.h:20
spdlog::details::null_mutex
Definition
null_mutex.h:16
Downloads
ArkServerAPI_NEW
ASE
AseApi-main
version
Core
Public
Logger
spdlog
sinks
null_sink.h
Generated by
1.10.0