PageRenderTime 21ms CodeModel.GetById 17ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/cln-1.3.2/src/base/cl_debugout.cc

#
C++ | 21 lines | 6 code | 9 blank | 6 comment | 0 complexity | 56c9fb886b8fc9bec6a9482765d3549c MD5 | raw file
Possible License(s): GPL-2.0
 1// Debugging stream.
 2
 3// General includes.
 4#include "base/cl_sysdep.h"
 5
 6// Specification.
 7#include "cln/io.h"
 8
 9
10// Implementation.
11
12// Just assume that the debugger runs on /dev/tty, independently of
13// cin, cout, cerr.
14
15#include <fstream>
16
17namespace cln {
18
19std::ostream * cl_debugout_stream = new std::ofstream ("/dev/tty");
20
21}  // namespace cln