Logs the message extended.
Namespace:
GrassValley.Mseries.AppServerLogAssembly: GrassValley.Mseries.AppServerLog (in GrassValley.Mseries.AppServerLog.dll) Version: 1.0.0.0
Syntax
C# |
---|
void LogMsgEx( int hrErr, EntryPtMsgType msgType, string file, int lineNum, int duration, string msg ) |
Visual Basic (Declaration) |
---|
Sub LogMsgEx ( _ hrErr As Integer, _ msgType As EntryPtMsgType, _ file As String, _ lineNum As Integer, _ duration As Integer, _ msg As String _ ) |
Visual C++ |
---|
void LogMsgEx( int hrErr, EntryPtMsgType msgType, String^ file, int lineNum, int duration, String^ msg ) |
Parameters
- hrErr
- Type: System..::.Int32
HRESULT Error.
- msgType
- Type: EntryPtMsgType
message type.
- file
- Type: System..::.String
file.
- lineNum
- Type: System..::.Int32
line num.
- duration
- Type: System..::.Int32
duration.
- msg
- Type: System..::.String
message.
Remarks
This function creates a new message record in the log database.
The record is timestamped when LogMsg is called, rather than when
it is actually written to the database, since this is an
asynchronous process.