Form FlowsheetWrite To Log 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
Assembly: DWSIM (in DWSIM.exe) Version: 10.0.9588.16093
C#
public void WriteToLog(
string texto,
Color cor,
MessageType tipo,
string exceptionID = ""
)VB
Public Sub WriteToLog (
texto As String,
cor As Color,
tipo As MessageType,
Optional exceptionID As String = ""
)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.