Click or drag to resize

ILoggingManagerGetLogs Method (String, Int32, DateTime, DateTime)


Gets a paginated list of publish logs for a given target in a specified time range.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
IEnumerable<IPublishLog> GetLogs(
	string pubTargetId,
	out int count,
	DateTime startTime,
	DateTime endTime
)

Parameters

pubTargetId
Type: SystemString
ID of the publishing target to get logs for.
count
Type: SystemInt32
Number of publish logs retrieved.
startTime
Type: SystemDateTime
The start of the time range within which relevant logs were submitted
endTime
Type: SystemDateTime
The end of the time range within which relevant logs were submitted.

Return Value

Type: IEnumerableIPublishLog
A list of publish logs.
Remarks
If the publishing target ID is passed in as null or an empty string all publishing target logs are retrieved.
See Also