Share via


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을 전달하여 기본 옵션을 사용합니다. 옵션은 고급 시나리오에 대한 것입니다. 기본값은 대부분의 이벤트에서 제대로 작동하도록 설계되었습니다.

특성

추가 정보

적용 대상