Click or drag to resize

ClientAPIEnableLog(String, Int32) Method

Activates logging the communication between this client connection and the card.

Namespace: RAYLASE.SPICE3.ClientLib
Assembly: RAYLASE.SPICE3.ClientLib (in RAYLASE.SPICE3.ClientLib.dll) Version: 3.5.2
Syntax
C#
public void EnableLog(
	string path,
	int truncateArgumentLength = -1
)

Parameters

path  String
The filename where the communication should be written to.
truncateArgumentLength  Int32  (Optional)
Allows limiting the length of API call arguments inside the logfile. Arguments of API calls, whose string representation exceeds this limit, are truncated. -1 means no truncating (Default).
Remarks
The file will be created if it does not yet exist. Otherwise, the log will be appended to the existing file.
See Also