Click or drag to resize

DeviceUtilZmotifGetLog Method

Queries the printer and returns the specified log.

Namespace:  Zebra.Sdk.Card.Zmotif.Device
Assembly:  SdkApi_Card_Core (in SdkApi_Card_Core.dll) Version: 2.14.1989
Syntax
string GetLog(
	LogType logType,
	bool clearLog
)

Parameters

logType
Type: Zebra.Sdk.Card.EnumerationsLogType
The type of log.
clearLog
Type: SystemBoolean
True to clear the Events log.

Return Value

Type: String
The log in XML form.
Exceptions
ExceptionCondition
ConnectionExceptionIf the device is busy or there is an error communicating with the printer.
ZebraCardExceptionIf a printer error occurs.
See Also