| 1 |  | 
|---|
| 2 | // Licensed to the .NET Foundation under one or more agreements. | 
|---|
| 3 | // The .NET Foundation licenses this file to you under the MIT license. | 
|---|
| 4 | // See the LICENSE file in the project root for more information. | 
|---|
| 5 | // | 
|---|
| 6 | // File: nativeeventsource.h | 
|---|
| 7 | // Abstract: This module implements native part of Event Source support in VM | 
|---|
| 8 | // | 
|---|
| 9 |  | 
|---|
| 10 | // | 
|---|
| 11 |  | 
|---|
| 12 | // | 
|---|
| 13 | // ============================================================================ | 
|---|
| 14 | #ifndef _NATIVEEVENTSOURCE_H_ | 
|---|
| 15 | #define _NATIVEEVENTSOURCE_H_ | 
|---|
| 16 |  | 
|---|
| 17 | #if defined(FEATURE_EVENTSOURCE_XPLAT) | 
|---|
| 18 | class XplatEventSourceLogger | 
|---|
| 19 | { | 
|---|
| 20 | public: | 
|---|
| 21 | static void QCALLTYPE LogEventSource(__in_z int eventID, __in_z LPCWSTR eventName, __in_z LPCWSTR eventSourceName, __in_z LPCWSTR payload); | 
|---|
| 22 | static BOOL QCALLTYPE IsEventSourceLoggingEnabled(); | 
|---|
| 23 | }; | 
|---|
| 24 |  | 
|---|
| 25 | #endif //defined(FEATURE_EVENTSOURCE_XPLAT) | 
|---|
| 26 | #endif //_NATIVEEVENTSOURCE_H_ | 
|---|
| 27 |  | 
|---|