Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
windebug_sink.h
Go to the documentation of this file.
1//
2// Copyright(c) 2017 Alexander Dalshov.
3// Distributed under the MIT License (http://opensource.org/licenses/MIT)
4//
5
6#pragma once
7
8#if defined(_WIN32)
9
10#include "msvc_sink.h"
11
12namespace spdlog
13{
14namespace sinks
15{
16
17/*
18* Windows debug sink (logging using OutputDebugStringA, synonym for msvc_sink)
19*/
20template<class Mutex>
21using windebug_sink = msvc_sink<Mutex>;
22
23typedef msvc_sink_mt windebug_sink_mt;
24typedef msvc_sink_st windebug_sink_st;
25
26}
27}
28
29#endif