AGI STK Util 11Send comments on this topic.
AgELogMsgType Enumeration
See Also
Windows






Windows & Linux

Description

Log message types.

Members

MemberValueDescription
eLogMsgDebug0Debugging message.
eLogMsgInfo1Informational message.
eLogMsgForceInfo2Informational message.
eLogMsgWarning3Warning message.
eLogMsgAlarm4Alarm message.

Remarks

These flags are set by the STK engine to indicate message severity. These flags are mostly valid in the context of STK. Container applications are free to interpret these flags at their convenience, and process them according to their specific logging capabilities.

Example

[Visual Basic .NET]
Private Sub stkxApp_OnLogMessage(_
ByVal Message As String, _
ByVal MsgType As AGI.STKUtil.AgELogMsgType, _
ByVal ErrorCode As Integer, _
ByVal FileName As String, _
ByVal LineNo As Integer, _
ByVal DispID As AGI.STKUtil.AgELogMsgDispID) _
Handles stkxApp.OnLogMessage


If MsgType = AGI.STKUtil.AgELogMsgType.eLogMsgAlarm Then
...
ElseIf MsgType = AGI.STKUtil.AgELogMsgType.eLogMsgDebug Then
...
ElseIf MsgType = AGI.STKUtil.AgELogMsgType.eLogMsgForceInfo Then
...
ElseIf MsgType = AGI.STKUtil.AgELogMsgType.eLogMsgInfo Then
...

End Sub
© 2019 Analytical Graphics, Inc. All Rights Reserved.