Click or drag to resize

DesktopSystemgetLogList Method

Retrieves an array of data objects for all available logs.

Requires administrator privileges.

Namespace:  Openfin.Desktop
Assembly:  OpenfinDesktop (in OpenfinDesktop.dll) Version: 17.4.0
Syntax
C#
public void getLogList(
	AckCallback callback,
	AckCallback errorCallback = null
)

Parameters

callback
Type: Openfin.DesktopAckCallback
A function that is called and passed an array of data objects for all available logs.
errorCallback (Optional)
Type: Openfin.DesktopAckCallback
(Optional) A function that is called if the method fails. The reason for failure is passed as an argument.
Remarks
Each object in the returned array takes the form: { name: (string) the filename of the log, size: (integer) the size of the log in bytes, date: (integer) the unix time at which the log was created }
See Also