Class ResponseLogMessageBuilder
A utility class to build response log messages.
Inheritance
ResponseLogMessageBuilder
Namespace: Ingenico.Connect.Sdk.Logging
Assembly: connect-sdk-dotnet.dll
Syntax
public class ResponseLogMessageBuilder : LogMessageBuilder
Constructors
ResponseLogMessageBuilder(string, HttpStatusCode, long)
Declaration
[Obsolete("Ignores the duration argument. Set the Duration property instead")]
public ResponseLogMessageBuilder(string requestId, HttpStatusCode statusCode, long duration)
Parameters
ResponseLogMessageBuilder(string, HttpStatusCode, TimeSpan, BodyObfuscator, HeaderObfuscator)
Declaration
public ResponseLogMessageBuilder(string requestId, HttpStatusCode statusCode, TimeSpan duration, BodyObfuscator bodyObfuscator, HeaderObfuscator headerObfuscator)
Parameters
ResponseLogMessageBuilder(string, HttpStatusCode)
Declaration
[Obsolete("Use the constructor that takes a BodyObfuscator and HeaderObfuscator instead")]
public ResponseLogMessageBuilder(string requestId, HttpStatusCode statusCode)
Parameters
Properties
Duration
Declaration
public TimeSpan Duration { get; set; }
Property Value
Message
Declaration
public override string Message { get; }
Property Value
Overrides