Class HttpContextLoggerConfig
Defines log configuration for the HttpContextLoger.
Inheritance
System.Object
HttpContextLoggerConfig
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Celerik.NetCore.Web
Assembly: cs.temp.dll.dll
Syntax
public class HttpContextLoggerConfig
Properties
Details
Optional details. E.g: An exception object.
Declaration
public object Details { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
IncludeCorrelationId
Indicates whether CorrelationId should be included.
Declaration
public bool IncludeCorrelationId { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IncludeRequestInfo
Indicates whether Request information should be included.
Declaration
public bool IncludeRequestInfo { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IncludeResponseInfo
Indicates whether Response information should be included.
Declaration
public bool IncludeResponseInfo { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsUnhandledException
Indicates whether the request ended with an unhandled exception.
Declaration
public bool IsUnhandledException { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Jsonify
Indicates whether Details should be serialized to JSON.
Declaration
public bool Jsonify { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Message
Log message.
Declaration
public string Message { get; set; }
Property Value
Type | Description |
---|---|
System.String |