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

Collaboration diagram for CDebugTrace::LogInstaller:

Collaboration graph
[legend]

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 (JetByteTools::ILogMessages &log)
 ~LogInstaller ()

Constructor & Destructor Documentation

LogInstaller ( JetByteTools::ILogMessages log  )  [explicit]

~LogInstaller (  ) 


Generated on Tue Oct 2 15:45:38 2007 for JetByte Tools - v5.2 by  doxygen 1.5.3