C-DEngine 5.105

TheLoggerFactory..::..LogEvent Method (String, String, eMsgLevel, Guid, String, String)

Logs an NMI or other User Triggered event

Namespace:  nsCDEngine.Engines.ThingService
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static void LogEvent(
	string pCategory,
	string pEventName,
	eMsgLevel pEventLevel,
	Guid pUserID,
	string pEventText,
	string pActionObject
)
Public Shared Sub LogEvent ( _
	pCategory As String, _
	pEventName As String, _
	pEventLevel As eMsgLevel, _
	pUserID As Guid, _
	pEventText As String, _
	pActionObject As String _
)
public:
static void LogEvent(
	String^ pCategory, 
	String^ pEventName, 
	eMsgLevel^ pEventLevel, 
	Guid^ pUserID, 
	String^ pEventText, 
	String^ pActionObject
)

Parameters

pCategory
Type: String
Event Category
pEventName
Type: String
Name of the event
pEventLevel
Type: nsCDEngine.BaseClasses..::..eMsgLevel
Seveity of the event
pUserID
Type: Guid
User that triggered the event
pEventText
Type: String
Long text of the event
pActionObject
Type: String
Optional: What object/thing was impacted by the Event