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

Method MyFileLogger

examples/Protonect.cpp:82–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 std::ofstream logfile_;
81public:
82 MyFileLogger(const char *filename)
83 {
84 if (filename)
85 logfile_.open(filename);
86 level_ = Debug;
87 }
88 bool good()
89 {
90 return logfile_.is_open() && logfile_.good();

Callers

nothing calls this directly

Calls 1

openMethod · 0.80

Tested by

no test coverage detected