Click or drag to resize

ClientAPIEnableLog(TextWriter, Int32, Boolean) 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(
	TextWriter writer,
	int truncateArgumentLength = -1,
	bool ownsWriter = true
)

Parameters

writer  TextWriter
The writer where the exchange between client and card is 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).
ownsWriter  Boolean  (Optional)
When true (default) the writer gets disposed when calling DisableLog.
See Also