FormFlowsheetWriteToLog Method

Appends a message to the log panel with the specified colour and type, and updates the status-bar label. When the flowsheet is a sub-flowsheet with RedirectMessages enabled the message is forwarded to the master flowsheet log with the sub-flowsheet tag prepended.

Definition

Namespace: DWSIM
Assembly: DWSIM (in DWSIM.exe) Version: 10.0.9588.16093
public void WriteToLog(
	string texto,
	Color cor,
	MessageType tipo,
	string exceptionID = ""
)

Parameters

texto  String
The message text to display.
cor  Color
The foreground colour to use in the log grid.
tipo  MessageType
The message severity/type.
exceptionID  String  (Optional)
An optional identifier linking the message to a specific exception record.

See Also