xtd 0.2.0
Loading...
Searching...
No Matches
ctrace.h
Go to the documentation of this file.
1
4#pragma once
5#include "tracestreambuf.h"
6#include <iostream>
7
9namespace xtd {
10 #if defined(TRACE)
12 inline xtd::tracestreambuf ctracestreambuf;
13
24 inline std::ostream ctrace(&ctracestreambuf);
25 #else
36 inline std::ostream ctrace(nullptr);
37 #endif
38}
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 xtd_about_box.h:10
Contains xtd::tracestreambuf class.