Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
spdlog
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
spdlog
Commits
ecec210d
Commit
ecec210d
authored
Nov 14, 2017
by
JP Cimalando
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
accept msvc_sink on all compilers, add name windebug_sink (fixes #554)
parent
8ca1d84a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
2 deletions
+31
-2
msvc_sink.h
include/spdlog/sinks/msvc_sink.h
+2
-2
windebug_sink.h
include/spdlog/sinks/windebug_sink.h
+29
-0
No files found.
include/spdlog/sinks/msvc_sink.h
View file @
ecec210d
...
...
@@ -5,12 +5,12 @@
#pragma once
#if defined(_
MSC_VER
)
#if defined(_
WIN32
)
#include "base_sink.h"
#include "../details/null_mutex.h"
#include <
WinB
ase.h>
#include <
winb
ase.h>
#include <mutex>
#include <string>
...
...
include/spdlog/sinks/windebug_sink.h
0 → 100644
View file @
ecec210d
//
// 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
>
;
typedef
msvc_sink_mt
windebug_sink_mt
;
typedef
msvc_sink_st
windebug_sink_st
;
}
}
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment