Class representing an event.
More...
|
| Event (DateTime Timestamp, EventType Type, string Message, string Object, string Actor, string EventId, EventLevel Level, string Facility, string Module, string StackTrace, params KeyValuePair< string, object >[] Tags) |
| Class representing an event. More...
|
|
| Event (EventType Type, string Message, string Object, string Actor, string EventId, EventLevel Level, string Facility, string Module, string StackTrace, params KeyValuePair< string, object >[] Tags) |
| Class representing an event. More...
|
|
| Event (EventType Type, Exception Exception, string Object, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags) |
| Class representing an event. More...
|
|
override string | ToString () |
|
bool | ShoudAvoid (IEventSink EventSink) |
| If the event sink EventSink should be avoided when logging the event. More...
|
|
void | Avoid (IEventSink EventSink) |
| If the event sink EventSink should be avoided when logging the event. More...
|
|
Class representing an event.
Definition at line 9 of file Event.cs.
◆ Event() [1/3]
Waher.Events.Event.Event |
( |
DateTime |
Timestamp, |
|
|
EventType |
Type, |
|
|
string |
Message, |
|
|
string |
Object, |
|
|
string |
Actor, |
|
|
string |
EventId, |
|
|
EventLevel |
Level, |
|
|
string |
Facility, |
|
|
string |
Module, |
|
|
string |
StackTrace, |
|
|
params KeyValuePair< string, object >[] |
Tags |
|
) |
| |
Class representing an event.
- Parameters
-
Timestamp | Timestamp of event. |
Type | Event Type. |
Message | Free-text event message. |
Object | Object related to the event. |
Actor | Actor responsible for the action causing the event. |
EventId | Computer-readable Event ID identifying type of even. |
Level | Event Level. |
Facility | Facility can be either a facility in the network sense or in the system sense. |
Module | Module where the event is reported. |
StackTrace | Stack Trace of event. |
Tags | Variable set of tags providing event-specific information. |
Definition at line 38 of file Event.cs.
◆ Event() [2/3]
Waher.Events.Event.Event |
( |
EventType |
Type, |
|
|
string |
Message, |
|
|
string |
Object, |
|
|
string |
Actor, |
|
|
string |
EventId, |
|
|
EventLevel |
Level, |
|
|
string |
Facility, |
|
|
string |
Module, |
|
|
string |
StackTrace, |
|
|
params KeyValuePair< string, object >[] |
Tags |
|
) |
| |
Class representing an event.
- Parameters
-
Type | Event Type. |
Message | Free-text event message. |
Object | Object related to the event. |
Actor | Actor responsible for the action causing the event. |
EventId | Computer-readable Event ID identifying type of even. |
Level | Event Level. |
Facility | Facility can be either a facility in the network sense or in the system sense. |
Module | Module where the event is reported. |
StackTrace | Stack Trace of event. |
Tags | Variable set of tags providing event-specific information. |
Definition at line 67 of file Event.cs.
◆ Event() [3/3]
Waher.Events.Event.Event |
( |
EventType |
Type, |
|
|
Exception |
Exception, |
|
|
string |
Object, |
|
|
string |
Actor, |
|
|
string |
EventId, |
|
|
EventLevel |
Level, |
|
|
string |
Facility, |
|
|
string |
Module, |
|
|
params KeyValuePair< string, object >[] |
Tags |
|
) |
| |
Class representing an event.
- Parameters
-
Type | Event Type. |
Exception | Exception object. |
Object | Object related to the event. |
Actor | Actor responsible for the action causing the event. |
EventId | Computer-readable Event ID identifying type of even. |
Level | Event Level. |
Facility | Facility can be either a facility in the network sense or in the system sense. |
Module | Module where the event is reported. |
Tags | Variable set of tags providing event-specific information. |
Definition at line 95 of file Event.cs.
◆ Avoid()
void Waher.Events.Event.Avoid |
( |
IEventSink |
EventSink | ) |
|
If the event sink EventSink should be avoided when logging the event.
- Parameters
-
- Returns
- If the event sink should be avoided.
Definition at line 189 of file Event.cs.
◆ ShoudAvoid()
bool Waher.Events.Event.ShoudAvoid |
( |
IEventSink |
EventSink | ) |
|
If the event sink EventSink should be avoided when logging the event.
- Parameters
-
- Returns
- If the event sink should be avoided.
Definition at line 179 of file Event.cs.
◆ ToString()
override string Waher.Events.Event.ToString |
( |
| ) |
|
◆ Actor
string Waher.Events.Event.Actor |
|
get |
Actor responsible for the action causing the event.
Definition at line 141 of file Event.cs.
◆ EventId
string Waher.Events.Event.EventId |
|
get |
Computer-readable Event ID identifying type of even.
Definition at line 146 of file Event.cs.
◆ Facility
string Waher.Events.Event.Facility |
|
get |
Facility can be either a facility in the network sense or in the system sense.
Definition at line 151 of file Event.cs.
◆ Level
◆ Message
string Waher.Events.Event.Message |
|
get |
Free-text event message.
Definition at line 131 of file Event.cs.
◆ Module
string Waher.Events.Event.Module |
|
get |
Module where the event is reported.
Definition at line 156 of file Event.cs.
◆ Object
string Waher.Events.Event.Object |
|
get |
Object related to the event.
Definition at line 136 of file Event.cs.
◆ StackTrace
string Waher.Events.Event.StackTrace |
|
get |
Stack Trace of event.
Definition at line 161 of file Event.cs.
◆ Tags
KeyValuePair<string, object> [] Waher.Events.Event.Tags |
|
get |
Variable set of tags providing event-specific information.
Definition at line 166 of file Event.cs.
◆ Timestamp
DateTime Waher.Events.Event.Timestamp |
|
get |
Timestamp of event.
Definition at line 116 of file Event.cs.
◆ Type
Type of event.
Definition at line 121 of file Event.cs.
The documentation for this class was generated from the following file:
- C:/My Projects/IoTGateway/Events/Waher.Events/Event.cs