C-DEngine 5.105

TheRulesFactory..::..LogEvent Method (String, eMsgLevel, String, String, String)

Log any aribrary event to the EventLog

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

Syntax


public static void LogEvent(
	string pEventName,
	eMsgLevel pEventLevel,
	string pEventText,
	string pEventTrigger,
	string pEventAction
)
Public Shared Sub LogEvent ( _
	pEventName As String, _
	pEventLevel As eMsgLevel, _
	pEventText As String, _
	pEventTrigger As String, _
	pEventAction As String _
)
public:
static void LogEvent(
	String^ pEventName, 
	eMsgLevel^ pEventLevel, 
	String^ pEventText, 
	String^ pEventTrigger, 
	String^ pEventAction
)

Parameters

pEventName
Type: String
Short Title of the Event
pEventLevel
Type: nsCDEngine.BaseClasses..::..eMsgLevel
Severity of the Event
pEventText
Type: String
Optional: Long text of the event
pEventTrigger
Type: String
Optional: Who/What triggered the Event
pEventAction
Type: String
Optional: What action was triggered by the Event