forked from microsoft/CLRInstrumentationEngine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDebugLoggerSink.h
More file actions
29 lines (21 loc) · 724 Bytes
/
DebugLoggerSink.h
File metadata and controls
29 lines (21 loc) · 724 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
#include "LoggerService.h"
#include "LoggerSink.h"
namespace MicrosoftInstrumentationEngine
{
class CDebugLoggerSink :
public ILoggerSink
{
private:
CLoggerService* m_pLogging;
// ILoggerSink Members
protected:
HRESULT Initialize(_In_ CLoggerService* pLogging) override;
void LogMessage(_In_ LPCWSTR wszMessage) override;
void LogError(_In_ LPCWSTR wszMessage) override;
void LogDumpMessage(_In_ LPCWSTR wszMessage) override;
HRESULT Reset(_In_ LoggingFlags defaultFlags, _Out_ LoggingFlags* pEffectiveFlags) override;
};
}