ChessPlusPlus
WIP
cplusplus.com Community Project
|
Replaces std::clog, std::cerr, std::cout with file streams. More...
#include <Debug.hpp>
Public Member Functions | |
~LogUtil () | |
Static Public Member Functions | |
static void | enableRedirection () noexcept |
Redirects std::clog, std::cerr, and std::cout to individual files, permanently. More... | |
Replaces std::clog, std::cerr, std::cout with file streams.
Calling enableRedirection() will permanently redirect std::clog, std::cerr, and std::cout to individual files.
|
inline |
|
inlinestaticnoexcept |
Redirects std::clog, std::cerr, and std::cout to individual files, permanently.
Calling this more than once is harmless and has no effect.