C# Class SwiftClient.Cli.SwiftConsoleLog

Inheritance: ISwiftLogger
Mostrar archivo 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

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