C# Class PayPal.Log.TraceSourceUtil

Trace Source utility for the given Type having listener or the closest "parent" TraceRoute that has listeners
Afficher le fichier Open project: paypal/PayPal-NET-SDK Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

GetTraceSource() public static méthode

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
Résultat System.Diagnostics.TraceSource

GetTraceSource() public static méthode

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
Résultat System.Diagnostics.TraceSource