ProcessModelLogLevel 열거형
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
이벤트 로그에 기록할 이벤트 유형을 지정합니다.
이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.
public enum class ProcessModelLogLevel
public enum ProcessModelLogLevel
type ProcessModelLogLevel =
Public Enum ProcessModelLogLevel
- 상속
필드
| Name | 값 | Description |
|---|---|---|
| None | 0 | 이벤트가 기록되지 않음을 지정합니다. 테스트 및 배포된 애플리케이션에 이 옵션을 사용할 수 있습니다. |
| All | 1 | 모든 프로세스 이벤트가 기록되도록 지정합니다. 필터링 없이 애플리케이션에서 발생할 수 있는 오류를 탐색하려는 경우 이 옵션을 사용합니다. 이 옵션은 빌드 및 디버깅 단계에서 유용합니다. |
| Errors | 2 | 예기치 않은 종료, 메모리 제한 종료 및 교착 상태 종료만 기록되도록 지정합니다. 기본값입니다. |
예제
다음 예제에서는 속성을 설정하는 ProcessModelSection.LogLevel 방법을 보여줍니다.
// Get the current LogLevel property value.
ProcessModelLogLevel comLogLevel =
processModelSection.LogLevel;
// Set the LogLevel property to ProcessModelLogLevel.All.
processModelSection.LogLevel = ProcessModelLogLevel.All;
' Get the current LogLevel property value.
Dim comLogLevel As ProcessModelLogLevel = _
processModelSection.LogLevel
' Set the LogLevel property to ProcessModelLogLevel.All.
processModelSection.LogLevel = ProcessModelLogLevel.All
설명
열거형에는 ProcessModelLogLevel 속성을 설정할 때 사용할 값이 포함됩니다 ProcessModelSection.LogLevel .
기본값은 Errors입니다.