DevLogLogMessage Method (String, String, String, LogMessageLevel, LogCategory) |
Logs a warning to the devlog
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static void LogMessage(
string Source,
string ID,
string Msg,
LogMessageLevel Level,
LogCategory Category
)
Public Shared Sub LogMessage (
Source As String,
ID As String,
Msg As String,
Level As LogMessageLevel,
Category As LogCategory
)
Parameters
- Source
- Type: SystemString
The source of the log message. Typically, this is the method name. - ID
- Type: SystemString
The ID of the log. Log messages should generally have the class or component as a prefix.
For example: For the database class, IDs look like this:
db.connectFailNoConnectStr
db.openCalledWithInvalidArgs
- Msg
- Type: SystemString
The message - Level
- Type: NetQuarryLogMessageLevel
The level or severity of the message. Must be one of the values from LogMessageLevel. - Category
- Type: NetQuarryLogCategory
One or more of the LogCategory values
See Also