Wire Sysio
Wire Sysion 1.0.0
Loading...
Searching...
No Matches
catch_debug_console.cpp
Go to the documentation of this file.
1
/*
2
* Created by Martin on 29/08/2017.
3
*
4
* Distributed under the Boost Software License, Version 1.0. (See accompanying
5
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6
*
7
*/
8
9
#include "
catch_debug_console.h
"
10
#include "
catch_stream.h
"
11
#include "
catch_platform.h
"
12
#include "
catch_windows_h_proxy.h
"
13
14
#ifdef CATCH_PLATFORM_WINDOWS
15
16
namespace
Catch
{
17
void
writeToDebugConsole
( std::string
const
& text ) {
18
::OutputDebugStringA(
text
.c_str() );
19
}
20
}
21
22
#else
23
24
namespace
Catch
{
25
void
writeToDebugConsole
( std::string
const
& text ) {
26
// !TBD: Need a version for Mac/ XCode and other IDEs
27
Catch::cout
() << text;
28
}
29
}
30
31
#endif
// Platform
catch_debug_console.h
catch_platform.h
catch_stream.h
catch_windows_h_proxy.h
Catch
Definition
231-Cfg-OutputStreams.cpp:32
Catch::cout
std::ostream & cout()
Definition
231-Cfg-OutputStreams.cpp:33
Catch::writeToDebugConsole
void writeToDebugConsole(std::string const &text)
Definition
catch_debug_console.cpp:25
websocketpp::frame::opcode::text
@ text
Definition
frame.hpp:79
libraries
sys-vm
external
Catch2
include
internal
catch_debug_console.cpp
Generated by
1.12.0