Plasma Engine  2.0
Loading...
Searching...
No Matches
plLogSystemScope Class Reference

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

plLogInterfacem_pPrevious
 

Detailed Description

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.


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