ConfigThreadGlobals.cpp (676B)
1 // Copyright (c) Microsoft Corporation. 2 // Licensed under the MIT License. 3 #include "pch.h" 4 #include "ConfigThreadGlobals.h" 5 6 namespace winrt::Microsoft::Management::Configuration::implementation 7 { 8 AppInstaller::Logging::DiagnosticLogger& ConfigThreadGlobals::GetDiagnosticLogger() 9 { 10 return m_logger; 11 } 12 13 void* ConfigThreadGlobals::GetTelemetryObject() 14 { 15 return &m_telemetry; 16 } 17 18 TelemetryTraceLogger& ConfigThreadGlobals::GetTelemetryLogger() 19 { 20 return m_telemetry; 21 } 22 23 const TelemetryTraceLogger& ConfigThreadGlobals::GetTelemetryLogger() const 24 { 25 return m_telemetry; 26 } 27 }