Click or drag to resize

DevLog.LogMessage 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
)

Parameters

Source
Type: System.String
The source of the log message. Typically, this is the method name.
ID
Type: System.String
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: System.String
The message
Level
Type: NetQuarry.LogMessageLevel
The level or severity of the message. Must be one of the values from LogMessageLevel.
Category
Type: NetQuarry.LogCategory
One or more of the LogCategory values
See Also