C# Class Tailspin.Surveys.Web.Logging.WebApiCallsLoggingExtensions

ILogger extensions for events that occur when web api calls are made
Datei anzeigen Open project: Azure-Samples/guidance-identity-management-for-multitenant-apps

Public Methods

Method Description
RequestFailed ( this logger, string method, string uri, System.TimeSpan elapsedTime, string reasonPhrase, int statusCode, string userId, string issuer ) : void
RequestSucceeded ( this logger, string method, string uri, System.TimeSpan elapsedTime, string userId, string issuer ) : void

Method Details

RequestFailed() public static method

public static RequestFailed ( this logger, string method, string uri, System.TimeSpan elapsedTime, string reasonPhrase, int statusCode, string userId, string issuer ) : void
logger this
method string
uri string
elapsedTime System.TimeSpan
reasonPhrase string
statusCode int
userId string
issuer string
return void

RequestSucceeded() public static method

public static RequestSucceeded ( this logger, string method, string uri, System.TimeSpan elapsedTime, string userId, string issuer ) : void
logger this
method string
uri string
elapsedTime System.TimeSpan
userId string
issuer string
return void