1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
4 // ============================================================
11 // Implements inlined methods of BindingLog
13 // ============================================================
15 #ifndef __BINDER__BINDING_LOG_INL__
16 #define __BINDER__BINDING_LOG_INL__
18 BOOL BindingLog::CanLog()
20 return (m_pCDebugLog != NULL);
23 CDebugLog *BindingLog::GetDebugLog()
25 _ASSERTE(m_pCDebugLog != NULL);
29 HRESULT BindingLog::Log(LPCWSTR pwzInfo)
31 PathString info(pwzInfo);
32 return BindingLog::Log(info);
35 HRESULT BindingLog::Log(LPCWSTR pwzPrefix,
40 message.Append(pwzPrefix);