HttpLoggingAttribute 클래스

정의

HttpLogging 미들웨어에 대한 엔드포인트별 설정을 제공하는 메타데이터입니다.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public sealed class HttpLoggingAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)>]
type HttpLoggingAttribute = class
    inherit Attribute
Public NotInheritable Class HttpLoggingAttribute
Inherits Attribute
상속
HttpLoggingAttribute
특성

생성자

HttpLoggingAttribute(HttpLoggingFields)

HttpLoggingAttribute 클래스의 인스턴스를 초기화합니다.

속성

IsRequestBodyLogLimitSet

설정되었는지 여부를 RequestBodyLogLimit 나타냅니다.

IsResponseBodyLogLimitSet

설정되었는지 여부를 ResponseBodyLogLimit 나타냅니다.

LoggingFields

기록할 필드를 지정합니다.

RequestBodyLogLimit

요청 본문에 대해 기록할 최대 바이트 수를 지정합니다.

ResponseBodyLogLimit

응답 본문에 대해 기록할 최대 바이트 수를 지정합니다.

적용 대상