File: cl_debugout.cc

package info (click to toggle)
cln 1.3.4-4
  • links: PTS
  • area: main
  • in suites: buster
  • size: 10,724 kB
  • sloc: cpp: 80,930; sh: 11,982; ansic: 3,278; makefile: 1,313
file content (21 lines) | stat: -rw-r--r-- 347 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Debugging stream.

// General includes.
#include "base/cl_sysdep.h"

// Specification.
#include "cln/io.h"


// Implementation.

// Just assume that the debugger runs on /dev/tty, independently of
// cin, cout, cerr.

#include <fstream>

namespace cln {

std::ostream * cl_debugout_stream = new std::ofstream ("/dev/tty");

}  // namespace cln