ILoggingTarget 인터페이스

정의

이벤트를 기록합니다.

public interface class ILoggingTarget
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1710320693, 58248, 20006, 177, 122, 245, 28, 211, 168, 57, 22)]
struct ILoggingTarget
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(1710320693, 58248, 20006, 177, 122, 245, 28, 211, 168, 57, 22)]
public interface ILoggingTarget
Public Interface ILoggingTarget
파생
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v1.0에서 도입되었습니다.)

메서드

IsEnabled()

하나 이상의 세션이 채널의 이벤트를 수신 대기하는지 여부를 나타냅니다.

IsEnabled(LoggingLevel)

하나 이상의 세션이 채널에서 지정된 이벤트 심각도 수준의 이벤트를 수신 대기하는지 여부를 나타냅니다.

IsEnabled(LoggingLevel, Int64)

하나 이상의 세션이 이 채널의 지정된 수준 및 키워드를 사용하여 이벤트를 수신 대기하는지 여부를 나타냅니다.

LogEvent(String)

지정된 이름을 사용하여 이벤트를 기록합니다.

LogEvent(String, LoggingFields)

지정된 이름과 필드를 사용하여 이벤트를 기록합니다.

LogEvent(String, LoggingFields, LoggingLevel)

지정된 이름, 필드 및 수준으로 이벤트를 기록합니다.

LogEvent(String, LoggingFields, LoggingLevel, LoggingOptions)

지정된 이름, 필드, 수준 및 옵션을 사용하여 이벤트를 기록합니다.

StartActivity(String)

활동 시작 이벤트를 작성하고 LoggingActivity 개체를 만듭니다.

StartActivity(String, LoggingFields)

필드를 사용하여 활동 시작 이벤트를 작성하고 LoggingActivity 개체를 만듭니다.

StartActivity(String, LoggingFields, LoggingLevel)

지정된 필드와 수준을 사용하여 활동 시작 이벤트를 작성하고 LoggingActivity 개체를 만듭니다.

StartActivity(String, LoggingFields, LoggingLevel, LoggingOptions)

지정된 필드, 수준 및 옵션을 사용하여 활동 시작 이벤트를 작성하고 LoggingActivity 개체를 만듭니다.

적용 대상

추가 정보