MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / MyFileLogger

Method MyFileLogger

tools/streamer_recorder/ProtonectSR.cpp:90–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88 std::ofstream logfile_;
89public:
90 MyFileLogger(const char *filename)
91 {
92 if (filename)
93 logfile_.open(filename);
94 level_ = Debug;
95 }
96 bool good()
97 {
98 return logfile_.is_open() && logfile_.good();

Callers

nothing calls this directly

Calls 1

openMethod · 0.80

Tested by

no test coverage detected