Share via


ILoggingSession 인터페이스

정의

LoggingChannel 인스턴스에서 기록된 메시지의 대상을 나타냅니다.

public interface class ILoggingSession : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1646392070, 37760, 19159, 186, 245, 65, 234, 147, 16, 215, 104)]
struct ILoggingSession : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(1646392070, 37760, 19159, 186, 245, 65, 234, 147, 16, 215, 104)]
public interface ILoggingSession : System.IDisposable
Public Interface ILoggingSession
Implements IDisposable
파생
특성
구현

Windows 요구 사항

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

속성

Name

로깅 세션의 이름을 가져옵니다.

메서드

AddLoggingChannel(ILoggingChannel)

현재 로깅 세션에 로깅 채널을 추가합니다.

AddLoggingChannel(ILoggingChannel, LoggingLevel)

지정된 로깅 수준이 있는 로깅 채널을 현재 로깅 세션에 추가합니다.

Dispose()

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

RemoveLoggingChannel(ILoggingChannel)

현재 로깅 세션에서 지정된 로깅 채널을 제거합니다.

SaveToFileAsync(IStorageFolder, String)

현재 로깅 세션을 파일에 저장합니다.

적용 대상

추가 정보