Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
Replaces g_Logger
for as long as it's in scope.
More...
#include <CLogger.h>
Public Member Functions | |
ScopedReplacement (std::ostream &mainLog, std::ostream &interestingLog, const bool useDebugPrintf) | |
ScopedReplacement (const ScopedReplacement &)=delete | |
ScopedReplacement & | operator= (const ScopedReplacement &)=delete |
ScopedReplacement (ScopedReplacement &&)=delete | |
ScopedReplacement & | operator= (ScopedReplacement &&)=delete |
~ScopedReplacement () | |
Private Attributes | |
CLogger | m_ThisLogger |
CLogger * | m_OldLogger |
Replaces g_Logger
for as long as it's in scope.
CLogger::ScopedReplacement::ScopedReplacement | ( | std::ostream & | mainLog, |
std::ostream & | interestingLog, | ||
const bool | useDebugPrintf | ||
) |
|
delete |
|
delete |
CLogger::ScopedReplacement::~ScopedReplacement | ( | ) |
|
delete |
|
delete |
|
private |
|
private |