C# 클래스 PayPal.Log.TraceSourceUtil

Trace Source utility for the given Type having listener or the closest "parent" TraceRoute that has listeners
파일 보기 프로젝트 열기: paypal/PayPal-NET-SDK 1 사용 예제들

공개 메소드들

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

Gets the TraceSource for the given Type having SourceLevels.All Returns null if there are no listeners configured for given Type or the closest "parent" TraceRoute that has listeners

GetTraceSource ( Type givenType, SourceLevels sourceLevels ) : TraceSource

Gets the TraceSource for the given Type and SourceLevels Returns null if there are no listeners configured for given Type or the closest "parent" TraceRoute that has listeners

비공개 메소드들

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

Gets the closest "parent" TraceRoute that has listeners, or null otherwise

GetTraceSourceWithListenersSyncLock ( string name, SourceLevels sourceLevels ) : TraceSource

Gets the closest "parent" TraceRoute that has listeners, or null otherwise

메소드 상세

GetTraceSource() 공개 정적인 메소드

Gets the TraceSource for the given Type having SourceLevels.All Returns null if there are no listeners configured for given Type or the closest "parent" TraceRoute that has listeners
public static GetTraceSource ( Type givenType ) : TraceSource
givenType System.Type
리턴 System.Diagnostics.TraceSource

GetTraceSource() 공개 정적인 메소드

Gets the TraceSource for the given Type and SourceLevels Returns null if there are no listeners configured for given Type or the closest "parent" TraceRoute that has listeners
public static GetTraceSource ( Type givenType, SourceLevels sourceLevels ) : TraceSource
givenType System.Type
sourceLevels SourceLevels
리턴 System.Diagnostics.TraceSource