xtd 0.2.0
cdebug.h
Go to the documentation of this file.
1 #pragma once
5 #include "debugstreambuf.h"
6 #include <iostream>
7 
9 namespace xtd {
10  #if !defined(NDEBUG) || defined(DEBUG) || defined(TRACE)
13 
22  inline std::ostream cdebug(&cdebugstreambuf);
23  #else
24  inline std::ostream cdebug(nullptr);
33  #endif
34 }
xtd::debugstreambuf cdebugstreambuf
A xtd::debugstreambuf variable used by xtd::cdebug ostream.
Definition: cdebug.h:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Provides an std::stringbuf for xtd::diagnostics::debug.
Definition: debugstreambuf.h:19
Contains xtd::debugstreambuf class.