ILoggingTarget.LogEvent メソッド

定義

オーバーロード

LogEvent(String)

指定した名前のイベントをログに記録します。

LogEvent(String, LoggingFields)

指定した名前とフィールドを持つイベントをログに記録します。

LogEvent(String, LoggingFields, LoggingLevel)

指定した名前、フィールド、およびレベルでイベントをログに記録します。

LogEvent(String, LoggingFields, LoggingLevel, LoggingOptions)

指定した名前、フィールド、レベル、およびオプションを使用してイベントをログに記録します。

LogEvent(String)

指定した名前のイベントをログに記録します。

public:
 void LogEvent(Platform::String ^ eventName);
/// [Windows.Foundation.Metadata.Overload("LogEvent")]
void LogEvent(winrt::hstring const& eventName);
[Windows.Foundation.Metadata.Overload("LogEvent")]
public void LogEvent(string eventName);
function logEvent(eventName)
Public Sub LogEvent (eventName As String)

パラメーター

eventName
String

Platform::String

winrt::hstring

このイベントの名前。

属性

こちらもご覧ください

適用対象

LogEvent(String, LoggingFields)

指定した名前とフィールドを持つイベントをログに記録します。

public:
 void LogEvent(Platform::String ^ eventName, LoggingFields ^ fields);
/// [Windows.Foundation.Metadata.Overload("LogEventWithFields")]
void LogEvent(winrt::hstring const& eventName, LoggingFields const& fields);
[Windows.Foundation.Metadata.Overload("LogEventWithFields")]
public void LogEvent(string eventName, LoggingFields fields);
function logEvent(eventName, fields)
Public Sub LogEvent (eventName As String, fields As LoggingFields)

パラメーター

eventName
String

Platform::String

winrt::hstring

このイベントの名前。

fields
LoggingFields

このイベントのフィールド。 null を指定できます。

属性

こちらもご覧ください

適用対象

LogEvent(String, LoggingFields, LoggingLevel)

指定した名前、フィールド、およびレベルでイベントをログに記録します。

public:
 void LogEvent(Platform::String ^ eventName, LoggingFields ^ fields, LoggingLevel level);
/// [Windows.Foundation.Metadata.Overload("LogEventWithFieldsAndLevel")]
void LogEvent(winrt::hstring const& eventName, LoggingFields const& fields, LoggingLevel const& level);
[Windows.Foundation.Metadata.Overload("LogEventWithFieldsAndLevel")]
public void LogEvent(string eventName, LoggingFields fields, LoggingLevel level);
function logEvent(eventName, fields, level)
Public Sub LogEvent (eventName As String, fields As LoggingFields, level As LoggingLevel)

パラメーター

eventName
String

Platform::String

winrt::hstring

このイベントの名前。

fields
LoggingFields

このイベントのフィールド。 null を指定できます。

level
LoggingLevel

このイベントの詳細レベル。

属性

こちらもご覧ください

適用対象

LogEvent(String, LoggingFields, LoggingLevel, LoggingOptions)

指定した名前、フィールド、レベル、およびオプションを使用してイベントをログに記録します。

public:
 void LogEvent(Platform::String ^ eventName, LoggingFields ^ fields, LoggingLevel level, LoggingOptions ^ options);
/// [Windows.Foundation.Metadata.Overload("LogEventWithFieldsAndOptions")]
void LogEvent(winrt::hstring const& eventName, LoggingFields const& fields, LoggingLevel const& level, LoggingOptions const& options);
[Windows.Foundation.Metadata.Overload("LogEventWithFieldsAndOptions")]
public void LogEvent(string eventName, LoggingFields fields, LoggingLevel level, LoggingOptions options);
function logEvent(eventName, fields, level, options)
Public Sub LogEvent (eventName As String, fields As LoggingFields, level As LoggingLevel, options As LoggingOptions)

パラメーター

eventName
String

Platform::String

winrt::hstring

このイベントの名前。

fields
LoggingFields

このイベントのフィールド。 null を指定できます。

level
LoggingLevel

このイベントの詳細レベル。

options
LoggingOptions

このイベントのオプション。 既定のオプションを使用するには 、null を 渡します。 オプションは、高度なシナリオ用です。 既定値は、ほとんどのイベントに適するように設計されています。

属性

こちらもご覧ください

適用対象