C# 클래스 Amazon.Runtime.Internal.Util.TraceSourceUtil

Creates TraceRoute for a given Type or the closest "parent" that has a listener configured. Example: if type is Amazon.DynamoDB.AmazonDynamoDBClient, listeners can be configured for: -Amazon.DynamoDB.AmazonDynamoDBClient -Amazon.DynamoDB -Amazon The first matching TraceSource with listeners will be used. If no listeners are configured for type or one of its "parents", will return null.
파일 보기 프로젝트 열기: scopely/aws-sdk-net 1 사용 예제들

공개 메소드들

메소드 설명
GetTraceSource ( Type targetType ) : TraceSource

Gets a TraceSource for given Type with SourceLevels.All. If there are no listeners configured for targetType or one of its "parents", returns null.

GetTraceSource ( Type targetType, SourceLevels sourceLevels ) : TraceSource

Gets a TraceSource for given Type and SourceLevels. If there are no listeners configured for targetType or one of its "parents", returns null.

비공개 메소드들

메소드 설명
GetTraceSourceWithListeners ( string name, SourceLevels sourceLevels ) : TraceSource
GetTraceSourceWithListeners_Locked ( string name, SourceLevels sourceLevels ) : TraceSource

메소드 상세

GetTraceSource() 공개 정적인 메소드

Gets a TraceSource for given Type with SourceLevels.All. If there are no listeners configured for targetType or one of its "parents", returns null.
public static GetTraceSource ( Type targetType ) : TraceSource
targetType System.Type
리턴 System.Diagnostics.TraceSource

GetTraceSource() 공개 정적인 메소드

Gets a TraceSource for given Type and SourceLevels. If there are no listeners configured for targetType or one of its "parents", returns null.
public static GetTraceSource ( Type targetType, SourceLevels sourceLevels ) : TraceSource
targetType System.Type
sourceLevels SourceLevels
리턴 System.Diagnostics.TraceSource