C# Class SwiftClient.Test.SwiftLogger

Inheritance: ISwiftLogger
Datei anzeigen Open project: vtfuture/SwiftClient

Public Methods

Method Description
LogAuthenticationError ( Exception ex, string username, string password, string endpoint ) : void
LogRequestError ( Exception ex, HttpStatusCode statusCode, string reason, string requestUrl ) : void
LogUnauthorizedError ( string token, string endpoint ) : void
SwiftLogger ( ITestOutputHelper output ) : System

Method Details

LogAuthenticationError() public method

public LogAuthenticationError ( Exception ex, string username, string password, string endpoint ) : void
ex System.Exception
username string
password string
endpoint string
return void

LogRequestError() public method

public LogRequestError ( Exception ex, HttpStatusCode statusCode, string reason, string requestUrl ) : void
ex System.Exception
statusCode HttpStatusCode
reason string
requestUrl string
return void

LogUnauthorizedError() public method

public LogUnauthorizedError ( string token, string endpoint ) : void
token string
endpoint string
return void

SwiftLogger() public method

public SwiftLogger ( ITestOutputHelper output ) : System
output ITestOutputHelper
return System