ChessPlusPlus  WIP
cplusplus.com Community Project
LogUtil Class Reference

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

LogUtil::~LogUtil ( )
inline

Member Function Documentation

static void LogUtil::enableRedirection ( )
inlinestaticnoexcept

Redirects std::clog, std::cerr, and std::cout to individual files, permanently.

Calling this more than once is harmless and has no effect.


The documentation for this class was generated from the following file: