mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-02 11:29:01 +08:00
28 lines
511 B
C++
28 lines
511 B
C++
//
|
|
// Copyright(c) 2017 Alexander Dalshov.
|
|
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
|
|
//
|
|
|
|
#pragma once
|
|
|
|
#if defined(_WIN32)
|
|
|
|
#include "spdlog/sinks/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
|