LoggingChannel.LogMessage Metodo

Definizione

Overload

LogMessage(String)

Registra un messaggio all'oggetto LoggingChannel corrente.

LogMessage(String, LoggingLevel)

Registra un messaggio all'oggetto LoggingChannel corrente con l'oggetto LoggingLevel specificato.

LogMessage(String)

Registra un messaggio all'oggetto LoggingChannel corrente.

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)

Parametri

eventString
String

Platform::String

winrt::hstring

Messaggio da registrare.

Implementazioni

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

Vedi anche

Si applica a

LogMessage(String, LoggingLevel)

Registra un messaggio all'oggetto LoggingChannel corrente con l'oggetto LoggingLevel specificato.

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)

Parametri

eventString
String

Platform::String

winrt::hstring

Messaggio da registrare.

level
LoggingLevel

Livello di registrazione.

Implementazioni

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

Vedi anche

Si applica a