Click or drag to resize
RequestLogs Class
Class encapsulating the request logs.
Inheritance Hierarchy
SystemObject
  CMS.BaseRequestLogs

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 11.0.0
Syntax
C#
public class RequestLogs : INotCopyThreadItem, 
	IEnumerable<RequestLog>, IEnumerable

The RequestLogs type exposes the following members.

Constructors
  NameDescription
Public methodRequestLogs
Constructor.
Top
Properties
  NameDescription
Public propertyItemInt32
Gets or sets the enabled status for particular debug
Public propertyItemDebugSettings
Gets or sets the enabled status for particular debug
Public propertyRegisterNewLogs
If true, new logs are automatically registered
Public propertyRequestGUID
Request GUID.
Public propertyRequestTime
Request time.
Public propertyRequestURL
Request URL.
Public propertyThreadStack
Current thread stack
Top
Methods
  NameDescription
Public methodCreateLog
Creates new request log.
Public methodEnsureLog
Ensures the request log for the given settings
Public methodGetEnumerator
Gets the logs enumerator
Top
Extension Methods
  NameDescription
Public Extension MethodBatchRequestLog
Returns input in batches of batchSize size.
(Defined by BaseExtensions.)
Public Extension MethodToHashSetRequestLog
Converts the list of objects to a hash set of distinct values
(Defined by DataExtensions.)
Public Extension MethodToJSON
Returns JSON representation of current instance of IEnumerable.
(Defined by DataExtensions.)
Public Extension MethodToXML
Returns XML representation of current instance of IEnumerable.
(Defined by DataExtensions.)
Top
See Also