Click or drag to resize

DesktopSystemlog Method

Writes a message to the log.

Namespace:  Openfin.Desktop
Assembly:  OpenfinDesktop (in OpenfinDesktop.dll) Version: 17.6.0
Syntax
C#
public void log(
	string level,
	string message,
	AckCallback callback = null,
	AckCallback errorCallback = null
)

Parameters

level
Type: SystemString
The log level for the entry. Can be either "info", "warning" or "error".
message
Type: SystemString
The log message text.
callback (Optional)
Type: Openfin.DesktopAckCallback
(Optional) A function that is called if the method succeeds.
errorCallback (Optional)
Type: Openfin.DesktopAckCallback
(Optional) A function that is called if the method fails. The reason for failure is passed as an argument.
See Also