xtd 0.2.0
Loading...
Searching...
No Matches
ctrace.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "tracestreambuf.hpp"
6#include <iostream>
7
9namespace xtd {
10 #if TRACE
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.hpp:17
xtd::tracestreambuf ctracestreambuf
A xtd::tracestreambuf variable used by xtd::ctrace ostream.
Definition ctrace.hpp:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Contains xtd::tracestreambuf class.