![]() |
Plasma Engine
2.0
|
A class that sets a custom plLogInterface as the thread local default log system, and resets the previous system when it goes out of scope. More...
#include <Log.h>
Public Member Functions | |
plLogSystemScope (plLogInterface *pInterface) | |
The given plLogInterface is passed to plLog::SetThreadLocalLogSystem(). | |
~plLogSystemScope () | |
Resets the previous plLogInterface through plLog::SetThreadLocalLogSystem() | |
Protected Attributes | |
plLogInterface * | m_pPrevious |
A class that sets a custom plLogInterface as the thread local default log system, and resets the previous system when it goes out of scope.