The C++ framework for developing highly scalable, high performance servers on Windows platforms.

CDebugTrace::LogInstaller Class Reference
[Log files and the pluggable logging systemRAII - Resource Acquisition Is Initialization]

Collaboration diagram for CDebugTrace::LogInstaller:

List of all members.


Detailed Description

A class that takes an instance of ILogMessages and installs it as the message log used by the CDebugTrace class and then removes it and reinstalls the previous log in its destructor. It can, therefore, be used to support scope based log installation and removal.

Public Member Functions

 LogInstaller (ILogMessages *pOptionalLog)
 LogInstaller (ILogMessages &log)
 LogInstaller (const LogInstaller &rhs)
 ~LogInstaller ()
LogInstalleroperator= (const LogInstaller &rhs)
void Uninstall ()

Constructor & Destructor Documentation

LogInstaller ( ILogMessages pOptionalLog  )  [explicit]

LogInstaller ( ILogMessages log  )  [explicit]

LogInstaller ( const LogInstaller rhs  ) 

~LogInstaller (  ) 


Member Function Documentation

LogInstaller& operator= ( const LogInstaller rhs  ) 

void Uninstall (  ) 


Generated on Sun Sep 12 19:08:25 2021 for The Server Framework - v7.4 by doxygen 1.5.3