Click or drag to resize

DevLogLogMessage Method (String, String, String, LogMessageLevel, LogCategory, Guid)

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,
	Guid bracketingID
)

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
The log category.
bracketingID
Type: SystemGuid
ID to use for bracketing in the viewer
See Also