TwiceAsNice
2019-02-18
|
Implementation class for logging with platform specific resources, Windows Event log for example. This class is why we are using managed code. The interface to the event log is MUCH better and easier to use. I am concerned that using manage code will create issues with the COM object. More...
#include <LoggerWin.h>
Public Member Functions | |
LoggerWin () | |
virtual | ~LoggerWin () |
void | Write (const std::string &type, const std::string &msg) |
![]() | |
virtual | ~ILog () |
Private Attributes | |
HANDLE | m_hEventLog |
Implementation class for logging with platform specific resources, Windows Event log for example. This class is why we are using managed code. The interface to the event log is MUCH better and easier to use. I am concerned that using manage code will create issues with the COM object.
Implementation class for logging with platform specific resources, Windows Event log for example. This class wraps the Event Logging API for XP and eariler OS's http://msdn.microsoft.com/en-us/library/aa363652%28VS.85%29.aspx.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright(c) 2009 Apogee Instruments, Inc.
LoggerWin::LoggerWin | ( | ) |
|
virtual |
Implements ILog.
|
private |