frogg / STUPRO

Satellite-based terrain visualization for environmental monitoring and presentation of relevant observations
Other
6 stars 3 forks source link

Internal Feature: Debug Logging #101

Closed Marukyu closed 8 years ago

Marukyu commented 8 years ago

Allows for easy debug logging using a global "debug.log" file.

Example usage:

#include <Utils/Misc/DebugLog.hpp>
// ...
DebugLog::get() << "Test: " << 123 << std::endl;

Read file using tail -f debug.log.

qw3ry commented 8 years ago

Compiles only in debug mode now. Usage:

DEBUG_LOG("Debug Msg\n" << i)