다음을 통해 공유


LoggingChannel.LogMessage 메서드

정의

오버로드

LogMessage(String)

현재 LoggingChannel에 메시지를 기록합니다.

LogMessage(String, LoggingLevel)

지정된 LoggingLevel을 사용하여 현재 LoggingChannel에 메시지를 기록합니다.

LogMessage(String)

현재 LoggingChannel에 메시지를 기록합니다.

public:
 virtual void LogMessage(Platform::String ^ eventString) = LogMessage;
/// [Windows.Foundation.Metadata.Overload("LogMessage")]
void LogMessage(winrt::hstring const& eventString);
[Windows.Foundation.Metadata.Overload("LogMessage")]
public void LogMessage(string eventString);
function logMessage(eventString)
Public Sub LogMessage (eventString As String)

매개 변수

eventString
String

Platform::String

winrt::hstring

기록할 메시지입니다.

구현

M:Windows.Foundation.Diagnostics.ILoggingChannel.LogMessage(System.String) M:Windows.Foundation.Diagnostics.ILoggingChannel.LogMessage(Platform::String) M:Windows.Foundation.Diagnostics.ILoggingChannel.LogMessage(winrt::hstring)
특성

추가 정보

적용 대상

LogMessage(String, LoggingLevel)

지정된 LoggingLevel을 사용하여 현재 LoggingChannel에 메시지를 기록합니다.

public:
 virtual void LogMessage(Platform::String ^ eventString, LoggingLevel level) = LogMessage;
/// [Windows.Foundation.Metadata.Overload("LogMessageWithLevel")]
void LogMessage(winrt::hstring const& eventString, LoggingLevel const& level);
[Windows.Foundation.Metadata.Overload("LogMessageWithLevel")]
public void LogMessage(string eventString, LoggingLevel level);
function logMessage(eventString, level)
Public Sub LogMessage (eventString As String, level As LoggingLevel)

매개 변수

eventString
String

Platform::String

winrt::hstring

기록할 메시지입니다.

level
LoggingLevel

로깅 수준입니다.

구현

M:Windows.Foundation.Diagnostics.ILoggingChannel.LogMessage(System.String,Windows.Foundation.Diagnostics.LoggingLevel) M:Windows.Foundation.Diagnostics.ILoggingChannel.LogMessage(Platform::String,Windows.Foundation.Diagnostics.LoggingLevel) M:Windows.Foundation.Diagnostics.ILoggingChannel.LogMessage(winrt::hstring,Windows.Foundation.Diagnostics.LoggingLevel)
특성

추가 정보

적용 대상