다음을 통해 공유


LogFormatter.SetExceptionDecoder(Type, Func<Exception,String>) 메서드

정의

지정된 예외 형식에 대한 예외 디코더를 구성합니다.

public static void SetExceptionDecoder (Type exceptionType, Func<Exception,string> decoder);
static member SetExceptionDecoder : Type * Func<Exception, string> -> unit
Public Shared Sub SetExceptionDecoder (exceptionType As Type, decoder As Func(Of Exception, String))

매개 변수

exceptionType
Type

디코더를 구성할 예외 유형입니다.

decoder
Func<Exception,String>

디코더입니다.

적용 대상