summaryrefslogtreecommitdiff
path: root/lib/spdlog/sinks/windebug_sink.h
blob: 2c7f1bc2d38802958ea173878b5003711c798ea0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//
// Copyright(c) 2017 Alexander Dalshov.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
//

#pragma once

#if defined(_WIN32)

#include "msvc_sink.h"

namespace spdlog {
namespace sinks {

/*
 * Windows debug sink (logging using OutputDebugStringA, synonym for msvc_sink)
 */
template<class Mutex>
using windebug_sink = msvc_sink<Mutex>;

using windebug_sink_mt = msvc_sink_mt;
using windebug_sink_st = msvc_sink_st;

} // namespace sinks
} // namespace spdlog

#endif