Compartilhar via


LoggingChannel.LogMessage Método

Definição

Sobrecargas

LogMessage(String)

Registra uma mensagem no LoggingChannel atual.

LogMessage(String, LoggingLevel)

Registra uma mensagem no LoggingChannel atual com o LoggingLevel especificado.

LogMessage(String)

Registra uma mensagem no LoggingChannel atual.

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)

Parâmetros

eventString
String

Platform::String

winrt::hstring

A mensagem a ser registrada.

Implementações

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

Confira também

Aplica-se a

LogMessage(String, LoggingLevel)

Registra uma mensagem no LoggingChannel atual com o LoggingLevel especificado.

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)

Parâmetros

eventString
String

Platform::String

winrt::hstring

A mensagem a ser registrada.

level
LoggingLevel

O nível de registro em log.

Implementações

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)
Atributos

Confira também

Aplica-se a