ILoggingChannel 인터페이스

정의

로그 메시지의 원본을 나타냅니다.

public interface class ILoggingChannel : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3919905603, 4567, 20225, 181, 202, 207, 73, 82, 120, 192, 168)]
struct ILoggingChannel : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(3919905603, 4567, 20225, 181, 202, 207, 73, 82, 120, 192, 168)]
public interface ILoggingChannel : System.IDisposable
Public Interface ILoggingChannel
Implements IDisposable
파생
특성
구현

Windows 요구 사항

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

속성

Enabled

메시지가 현재 LoggingChannel에 기록되고 있는지 여부를 나타내는 값을 가져옵니다.

Level

현재 LoggingChannel의 메시지에 대한 세부 정보 수준을 가져옵니다.

Name

현재 LoggingChannel의 이름을 가져옵니다.

메서드

Dispose()

관리되지 않는 리소스의 확보, 해제 또는 다시 설정과 관련된 애플리케이션 정의 작업을 수행합니다.

LogMessage(String)

메시지를 현재 LoggingChannel에 기록합니다.

LogMessage(String, LoggingLevel)

지정된 LoggingLevel을 사용하여 현재 LoggingChannel에 메시지를 기록합니다.

LogValuePair(String, Int32)

현재 LoggingChannel에 데이터를 기록합니다.

LogValuePair(String, Int32, LoggingLevel)

지정된 LoggingLevel을 사용하여 현재 LoggingChannel에 데이터를 기록합니다.

이벤트

LoggingEnabled

로깅 채널이 LoggingSession 또는 기타 이벤트 추적 및 디버깅 도구에 연결될 때 발생합니다.

적용 대상

추가 정보