Click or drag to resize
Galactic API

SqlEventLogAddEvent Method

Adds an event to the log.

Namespace:  Galactic.EventLog.Sql
Assembly:  Galactic.EventLog.Sql (in Galactic.EventLog.Sql.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
protected bool AddEvent(
	string source,
	string category,
	EventSeverityLevels severityLevel,
	string details
)

Parameters

source
Type: SystemString
A name for the source of the event.
category
Type: SystemString
A category that classifies the type of event.
severityLevel
Type: Galactic.EventLogEventSeverityLevels
The importance of the event.
details
Type: SystemString
A detailed description of the event.

Return Value

Type: Boolean
True if the event was added, false otherwise.
See Also