xtd - Reference Guide  0.1.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Loading...
Searching...
No Matches
ctrace.h
Go to the documentation of this file.
1
4#pragma once
5#include <iostream>
6#include "tracestreambuf.h"
7
9inline xtd::tracestreambuf __ctracestreambuf__;
11
13namespace xtd {
14#if defined(TRACE)
21 inline std::ostream ctrace(&__ctracestreambuf__);
22#else
29 inline std::ostream ctrace(nullptr);
30#endif
31}
Provides an std::stringbuf for xtd::diagnostics::trace.
Definition: tracestreambuf.h:17
std::ostream ctrace(nullptr)
Provides an std::ostream for xtd::diagnostics::trace.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17
Contains xtd::tracestreambuf class.