1
0
mirror of https://github.com/gabime/spdlog.git synced 2025-05-01 20:43:52 +00:00
spdlog/include/spdlog/sinks/windebug_sink.h
2018-02-24 23:56:56 +01:00

30 lines
458 B
C++

//
// 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;
}
}
#endif