Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Waher.Events.Log Class Reference

Static class managing the application event log. Applications and services log events on this static class, and it distributes them to registered event sinks. More...

Static Public Member Functions

static void Register (IEventSink EventSink)
 Registers an event sink with the event log. Call Unregister(IEventSink) to unregister it, or Terminate at the end of an application, to unregister and terminate all registered event sinks. More...
 
static bool Unregister (IEventSink EventSink)
 Unregisters an event sink from the event log. More...
 
static bool RegisterExceptionToUnnest (Type ExceptionType)
 Register an exception type to unnest in logging. By default, only the TargetInvocationException is unnested. More...
 
static void Terminate ()
 Must be called when the application is terminated. Stops all event sinks that have been registered. More...
 
static async void Event (Event Event)
 Logs an event. It will be distributed to registered event sinks. More...
 
static string CleanStackTrace (string StackTrace)
 Cleans a Stack Trace string, removing entries from the asynchronous execution model, making the result more readable to developers. More...
 
static void Debug (string Message, string Object, string Actor, string EventId, EventLevel Level, string Facility, string Module, string StackTrace, params KeyValuePair< string, object >[] Tags)
 Logs a debug event. More...
 
static void Debug (string Message, string Object, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
 Logs a debug event. More...
 
static void Debug (string Message, string Object, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
 Logs a debug event. More...
 
static void Debug (string Message, string Object, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
 Logs a debug event. More...
 
static void Debug (string Message, string Object, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
 Logs a debug event. More...
 
static void Debug (string Message, string Object, string Actor, params KeyValuePair< string, object >[] Tags)
 Logs a debug event. More...
 
static void Debug (string Message, string Object, params KeyValuePair< string, object >[] Tags)
 Logs a debug event. More...
 
static void Debug (string Message, params KeyValuePair< string, object >[] Tags)
 Logs a debug event. More...
 
static void Informational (string Message, string Object, string Actor, string EventId, EventLevel Level, string Facility, string Module, string StackTrace, params KeyValuePair< string, object >[] Tags)
 Logs an informational event. More...
 
static void Informational (string Message, string Object, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
 Logs an informational event. More...
 
static void Informational (string Message, string Object, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
 Logs an informational event. More...
 
static void Informational (string Message, string Object, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
 Logs an informational event. More...
 
static void Informational (string Message, string Object, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
 Logs an informational event. More...
 
static void Informational (string Message, string Object, string Actor, params KeyValuePair< string, object >[] Tags)
 Logs an informational event. More...
 
static void Informational (string Message, string Object, params KeyValuePair< string, object >[] Tags)
 Logs an informational event. More...
 
static void Informational (string Message, params KeyValuePair< string, object >[] Tags)
 Logs an informational event. More...
 
static void Notice (string Message, string Object, string Actor, string EventId, EventLevel Level, string Facility, string Module, string StackTrace, params KeyValuePair< string, object >[] Tags)
 Logs a notice event. More...
 
static void Notice (string Message, string Object, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
 Logs a notice event. More...
 
static void Notice (string Message, string Object, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
 Logs a notice event. More...
 
static void Notice (string Message, string Object, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
 Logs a notice event. More...
 
static void Notice (string Message, string Object, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
 Logs a notice event. More...
 
static void Notice (string Message, string Object, string Actor, params KeyValuePair< string, object >[] Tags)
 Logs a notice event. More...
 
static void Notice (string Message, string Object, params KeyValuePair< string, object >[] Tags)
 Logs a notice event. More...
 
static void Notice (string Message, params KeyValuePair< string, object >[] Tags)
 Logs a notice event. More...
 
static void Warning (string Message, string Object, string Actor, string EventId, EventLevel Level, string Facility, string Module, string StackTrace, params KeyValuePair< string, object >[] Tags)
 Logs a warning event. More...
 
static void Warning (string Message, string Object, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
 Logs a warning event. More...
 
static void Warning (string Message, string Object, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
 Logs a warning event. More...
 
static void Warning (string Message, string Object, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
 Logs a warning event. More...
 
static void Warning (string Message, string Object, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
 Logs a warning event. More...
 
static void Warning (string Message, string Object, string Actor, params KeyValuePair< string, object >[] Tags)
 Logs a warning event. More...
 
static void Warning (string Message, string Object, params KeyValuePair< string, object >[] Tags)
 Logs a warning event. More...
 
static void Warning (string Message, params KeyValuePair< string, object >[] Tags)
 Logs a warning event. More...
 
static void Error (string Message, string Object, string Actor, string EventId, EventLevel Level, string Facility, string Module, string StackTrace, params KeyValuePair< string, object >[] Tags)
 Logs an error event. More...
 
static void Error (string Message, string Object, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
 Logs an error event. More...
 
static void Error (string Message, string Object, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
 Logs an error event. More...
 
static void Error (string Message, string Object, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
 Logs an error event. More...
 
static void Error (string Message, string Object, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
 Logs an error event. More...
 
static void Error (string Message, string Object, string Actor, params KeyValuePair< string, object >[] Tags)
 Logs an error event. More...
 
static void Error (string Message, string Object, params KeyValuePair< string, object >[] Tags)
 Logs an error event. More...
 
static void Error (string Message, params KeyValuePair< string, object >[] Tags)
 Logs an error event. More...
 
static void Error (Exception Exception, string Object, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
 Logs an error event. More...
 
static Exception UnnestException (Exception Exception)
 Unnests an exception, to extract the relevant inner exception. More...
 
static void Error (Exception Exception, string Object, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
 Logs an error event. More...
 
static void Error (Exception Exception, string Object, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
 Logs an error event. More...
 
static void Error (Exception Exception, string Object, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
 Logs an error event. More...
 
static void Error (Exception Exception, string Object, string Actor, params KeyValuePair< string, object >[] Tags)
 Logs an error event. More...
 
static void Error (Exception Exception, string Object, params KeyValuePair< string, object >[] Tags)
 Logs an error event. More...
 
static void Error (Exception Exception, params KeyValuePair< string, object >[] Tags)
 Logs an error event. More...
 
static void Critical (string Message, string Object, string Actor, string EventId, EventLevel Level, string Facility, string Module, string StackTrace, params KeyValuePair< string, object >[] Tags)
 Logs a critical event. More...
 
static void Critical (string Message, string Object, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
 Logs a critical event. More...
 
static void Critical (string Message, string Object, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
 Logs a critical event. More...
 
static void Critical (string Message, string Object, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
 Logs a critical event. More...
 
static void Critical (string Message, string Object, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
 Logs a critical event. More...
 
static void Critical (string Message, string Object, string Actor, params KeyValuePair< string, object >[] Tags)
 Logs a critical event. More...
 
static void Critical (string Message, string Object, params KeyValuePair< string, object >[] Tags)
 Logs a critical event. More...
 
static void Critical (string Message, params KeyValuePair< string, object >[] Tags)
 Logs a critical event. More...
 
static void Critical (Exception Exception, string Object, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
 Logs a critical event. More...
 
static void Critical (Exception Exception, string Object, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
 Logs a critical event. More...
 
static void Critical (Exception Exception, string Object, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
 Logs a critical event. More...
 
static void Critical (Exception Exception, string Object, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
 Logs a critical event. More...
 
static void Critical (Exception Exception, string Object, string Actor, params KeyValuePair< string, object >[] Tags)
 Logs a critical event. More...
 
static void Critical (Exception Exception, string Object, params KeyValuePair< string, object >[] Tags)
 Logs a critical event. More...
 
static void Critical (Exception Exception, params KeyValuePair< string, object >[] Tags)
 Logs a critical event. More...
 
static void Alert (string Message, string Object, string Actor, string EventId, EventLevel Level, string Facility, string Module, string StackTrace, params KeyValuePair< string, object >[] Tags)
 Logs an alert event. More...
 
static void Alert (string Message, string Object, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
 Logs an alert event. More...
 
static void Alert (string Message, string Object, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
 Logs an alert event. More...
 
static void Alert (string Message, string Object, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
 Logs an alert event. More...
 
static void Alert (string Message, string Object, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
 Logs an alert event. More...
 
static void Alert (string Message, string Object, string Actor, params KeyValuePair< string, object >[] Tags)
 Logs an alert event. More...
 
static void Alert (string Message, string Object, params KeyValuePair< string, object >[] Tags)
 Logs an alert event. More...
 
static void Alert (string Message, params KeyValuePair< string, object >[] Tags)
 Logs an alert event. More...
 
static void Alert (Exception Exception, string Object, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
 Logs an alert event. More...
 
static void Alert (Exception Exception, string Object, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
 Logs an alert event. More...
 
static void Alert (Exception Exception, string Object, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
 Logs an alert event. More...
 
static void Alert (Exception Exception, string Object, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
 Logs an alert event. More...
 
static void Alert (Exception Exception, string Object, string Actor, params KeyValuePair< string, object >[] Tags)
 Logs an alert event. More...
 
static void Alert (Exception Exception, string Object, params KeyValuePair< string, object >[] Tags)
 Logs an alert event. More...
 
static void Alert (Exception Exception, params KeyValuePair< string, object >[] Tags)
 Logs an alert event. More...
 
static void Emergency (string Message, string Object, string Actor, string EventId, EventLevel Level, string Facility, string Module, string StackTrace, params KeyValuePair< string, object >[] Tags)
 Logs an emergency event. More...
 
static void Emergency (string Message, string Object, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
 Logs an emergency event. More...
 
static void Emergency (string Message, string Object, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
 Logs an emergency event. More...
 
static void Emergency (string Message, string Object, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
 Logs an emergency event. More...
 
static void Emergency (string Message, string Object, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
 Logs an emergency event. More...
 
static void Emergency (string Message, string Object, string Actor, params KeyValuePair< string, object >[] Tags)
 Logs an emergency event. More...
 
static void Emergency (string Message, string Object, params KeyValuePair< string, object >[] Tags)
 Logs an emergency event. More...
 
static void Emergency (string Message, params KeyValuePair< string, object >[] Tags)
 Logs an emergency event. More...
 
static void Emergency (Exception Exception, string Object, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
 Logs an emergency event. More...
 
static void Emergency (Exception Exception, string Object, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
 Logs an emergency event. More...
 
static void Emergency (Exception Exception, string Object, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
 Logs an emergency event. More...
 
static void Emergency (Exception Exception, string Object, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
 Logs an emergency event. More...
 
static void Emergency (Exception Exception, string Object, string Actor, params KeyValuePair< string, object >[] Tags)
 Logs an emergency event. More...
 
static void Emergency (Exception Exception, string Object, params KeyValuePair< string, object >[] Tags)
 Logs an emergency event. More...
 
static void Emergency (Exception Exception, params KeyValuePair< string, object >[] Tags)
 Logs an emergency event. More...
 
static void Exception (Exception Exception, string Object, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
 Logs an exception. Event type will be determined by the severity of the exception. More...
 
static void Exception (Exception Exception, string Object, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
 Logs an exception. Event type will be determined by the severity of the exception. More...
 
static void Exception (Exception Exception, string Object, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
 Logs an exception. Event type will be determined by the severity of the exception. More...
 
static void Exception (Exception Exception, string Object, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
 Logs an exception. Event type will be determined by the severity of the exception. More...
 
static void Exception (Exception Exception, string Object, string Actor, params KeyValuePair< string, object >[] Tags)
 Logs an exception. Event type will be determined by the severity of the exception. More...
 
static void Exception (Exception Exception, string Object, params KeyValuePair< string, object >[] Tags)
 Logs an exception. Event type will be determined by the severity of the exception. More...
 
static void Exception (Exception Exception, params KeyValuePair< string, object >[] Tags)
 Logs an exception. Event type will be determined by the severity of the exception. More...
 
static EventType GetEventType (Exception Exception)
 Gets the event type corresponding to a given exception object. More...
 
static void RegisterAlertExceptionType (bool Lock, params Type[] ExceptionTypes)
 Registers a set of Exception types as Exception types that should generate alert log entries when logged. More...
 
static T[] Join< T > (this T[] Array, params T[] NewElements)
 Joins two arrays More...
 

Properties

static IEventSink[] Sinks [get]
 Registered sinks. More...
 

Events

static EventHandler Terminating = null
 Event raised when the application is terminating. More...
 

Detailed Description

Static class managing the application event log. Applications and services log events on this static class, and it distributes them to registered event sinks.

Definition at line 12 of file Log.cs.

Member Function Documentation

◆ Alert() [1/15]

static void Waher.Events.Log.Alert ( Exception  Exception,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an alert event.

Parameters
ExceptionException Object.
TagsVariable set of tags providing event-specific information.

Definition at line 1416 of file Log.cs.

◆ Alert() [2/15]

static void Waher.Events.Log.Alert ( Exception  Exception,
string  Object,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an alert event.

Parameters
ExceptionException Object.
ObjectObject related to the event.
TagsVariable set of tags providing event-specific information.

Definition at line 1406 of file Log.cs.

◆ Alert() [3/15]

static void Waher.Events.Log.Alert ( Exception  Exception,
string  Object,
string  Actor,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an alert event.

Parameters
ExceptionException Object.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
TagsVariable set of tags providing event-specific information.

Definition at line 1395 of file Log.cs.

◆ Alert() [4/15]

static void Waher.Events.Log.Alert ( Exception  Exception,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an alert event.

Parameters
ExceptionException Object.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
TagsVariable set of tags providing event-specific information.

Definition at line 1369 of file Log.cs.

◆ Alert() [5/15]

static void Waher.Events.Log.Alert ( Exception  Exception,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an alert event.

Parameters
ExceptionException Object.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
TagsVariable set of tags providing event-specific information.

Definition at line 1354 of file Log.cs.

◆ Alert() [6/15]

static void Waher.Events.Log.Alert ( Exception  Exception,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
string  Module,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an alert event.

Parameters
ExceptionException Object.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
ModuleModule where the event is reported.
TagsVariable set of tags providing event-specific information.

Definition at line 1338 of file Log.cs.

◆ Alert() [7/15]

static void Waher.Events.Log.Alert ( Exception  Exception,
string  Object,
string  Actor,
string  EventId,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an alert event.

Parameters
ExceptionException Object.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
TagsVariable set of tags providing event-specific information.

Definition at line 1383 of file Log.cs.

◆ Alert() [8/15]

static void Waher.Events.Log.Alert ( string  Message,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an alert event.

Parameters
MessageFree-text event message.
TagsVariable set of tags providing event-specific information.

Definition at line 1322 of file Log.cs.

◆ Alert() [9/15]

static void Waher.Events.Log.Alert ( string  Message,
string  Object,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an alert event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
TagsVariable set of tags providing event-specific information.

Definition at line 1312 of file Log.cs.

◆ Alert() [10/15]

static void Waher.Events.Log.Alert ( string  Message,
string  Object,
string  Actor,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an alert event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
TagsVariable set of tags providing event-specific information.

Definition at line 1301 of file Log.cs.

◆ Alert() [11/15]

static void Waher.Events.Log.Alert ( string  Message,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an alert event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
TagsVariable set of tags providing event-specific information.

Definition at line 1275 of file Log.cs.

◆ Alert() [12/15]

static void Waher.Events.Log.Alert ( string  Message,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an alert event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
TagsVariable set of tags providing event-specific information.

Definition at line 1260 of file Log.cs.

◆ Alert() [13/15]

static void Waher.Events.Log.Alert ( string  Message,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
string  Module,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an alert event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
ModuleModule where the event is reported.
TagsVariable set of tags providing event-specific information.

Definition at line 1244 of file Log.cs.

◆ Alert() [14/15]

static void Waher.Events.Log.Alert ( string  Message,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
string  Module,
string  StackTrace,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an alert event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
ModuleModule where the event is reported.
StackTraceStack Trace of event.
TagsVariable set of tags providing event-specific information.

Definition at line 1227 of file Log.cs.

◆ Alert() [15/15]

static void Waher.Events.Log.Alert ( string  Message,
string  Object,
string  Actor,
string  EventId,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an alert event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
TagsVariable set of tags providing event-specific information.

Definition at line 1289 of file Log.cs.

◆ CleanStackTrace()

static string Waher.Events.Log.CleanStackTrace ( string  StackTrace)
static

Cleans a Stack Trace string, removing entries from the asynchronous execution model, making the result more readable to developers.

Parameters
StackTraceStack Trace
Returns
Cleaned stack trace

Definition at line 184 of file Log.cs.

◆ Critical() [1/15]

static void Waher.Events.Log.Critical ( Exception  Exception,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a critical event.

Parameters
ExceptionException Object.
TagsVariable set of tags providing event-specific information.

Definition at line 1206 of file Log.cs.

◆ Critical() [2/15]

static void Waher.Events.Log.Critical ( Exception  Exception,
string  Object,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a critical event.

Parameters
ExceptionException Object.
ObjectObject related to the event.
TagsVariable set of tags providing event-specific information.

Definition at line 1196 of file Log.cs.

◆ Critical() [3/15]

static void Waher.Events.Log.Critical ( Exception  Exception,
string  Object,
string  Actor,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a critical event.

Parameters
ExceptionException Object.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
TagsVariable set of tags providing event-specific information.

Definition at line 1185 of file Log.cs.

◆ Critical() [4/15]

static void Waher.Events.Log.Critical ( Exception  Exception,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a critical event.

Parameters
ExceptionException Object.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
TagsVariable set of tags providing event-specific information.

Definition at line 1159 of file Log.cs.

◆ Critical() [5/15]

static void Waher.Events.Log.Critical ( Exception  Exception,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a critical event.

Parameters
ExceptionException Object.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
TagsVariable set of tags providing event-specific information.

Definition at line 1144 of file Log.cs.

◆ Critical() [6/15]

static void Waher.Events.Log.Critical ( Exception  Exception,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
string  Module,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a critical event.

Parameters
ExceptionException Object.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
ModuleModule where the event is reported.
TagsVariable set of tags providing event-specific information.

Definition at line 1128 of file Log.cs.

◆ Critical() [7/15]

static void Waher.Events.Log.Critical ( Exception  Exception,
string  Object,
string  Actor,
string  EventId,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a critical event.

Parameters
ExceptionException Object.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
TagsVariable set of tags providing event-specific information.

Definition at line 1173 of file Log.cs.

◆ Critical() [8/15]

static void Waher.Events.Log.Critical ( string  Message,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a critical event.

Parameters
MessageFree-text event message.
TagsVariable set of tags providing event-specific information.

Definition at line 1112 of file Log.cs.

◆ Critical() [9/15]

static void Waher.Events.Log.Critical ( string  Message,
string  Object,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a critical event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
TagsVariable set of tags providing event-specific information.

Definition at line 1102 of file Log.cs.

◆ Critical() [10/15]

static void Waher.Events.Log.Critical ( string  Message,
string  Object,
string  Actor,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a critical event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
TagsVariable set of tags providing event-specific information.

Definition at line 1091 of file Log.cs.

◆ Critical() [11/15]

static void Waher.Events.Log.Critical ( string  Message,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a critical event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
TagsVariable set of tags providing event-specific information.

Definition at line 1065 of file Log.cs.

◆ Critical() [12/15]

static void Waher.Events.Log.Critical ( string  Message,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a critical event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
TagsVariable set of tags providing event-specific information.

Definition at line 1050 of file Log.cs.

◆ Critical() [13/15]

static void Waher.Events.Log.Critical ( string  Message,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
string  Module,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a critical event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
ModuleModule where the event is reported.
TagsVariable set of tags providing event-specific information.

Definition at line 1034 of file Log.cs.

◆ Critical() [14/15]

static void Waher.Events.Log.Critical ( string  Message,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
string  Module,
string  StackTrace,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a critical event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
ModuleModule where the event is reported.
StackTraceStack Trace of event.
TagsVariable set of tags providing event-specific information.

Definition at line 1017 of file Log.cs.

◆ Critical() [15/15]

static void Waher.Events.Log.Critical ( string  Message,
string  Object,
string  Actor,
string  EventId,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a critical event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
TagsVariable set of tags providing event-specific information.

Definition at line 1079 of file Log.cs.

◆ Debug() [1/8]

static void Waher.Events.Log.Debug ( string  Message,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a debug event.

Parameters
MessageFree-text event message.
TagsVariable set of tags providing event-specific information.

Definition at line 313 of file Log.cs.

◆ Debug() [2/8]

static void Waher.Events.Log.Debug ( string  Message,
string  Object,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a debug event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
TagsVariable set of tags providing event-specific information.

Definition at line 303 of file Log.cs.

◆ Debug() [3/8]

static void Waher.Events.Log.Debug ( string  Message,
string  Object,
string  Actor,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a debug event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
TagsVariable set of tags providing event-specific information.

Definition at line 292 of file Log.cs.

◆ Debug() [4/8]

static void Waher.Events.Log.Debug ( string  Message,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a debug event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
TagsVariable set of tags providing event-specific information.

Definition at line 266 of file Log.cs.

◆ Debug() [5/8]

static void Waher.Events.Log.Debug ( string  Message,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a debug event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
TagsVariable set of tags providing event-specific information.

Definition at line 251 of file Log.cs.

◆ Debug() [6/8]

static void Waher.Events.Log.Debug ( string  Message,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
string  Module,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a debug event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
ModuleModule where the event is reported.
TagsVariable set of tags providing event-specific information.

Definition at line 235 of file Log.cs.

◆ Debug() [7/8]

static void Waher.Events.Log.Debug ( string  Message,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
string  Module,
string  StackTrace,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a debug event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
ModuleModule where the event is reported.
StackTraceStack Trace of event.
TagsVariable set of tags providing event-specific information.

Definition at line 218 of file Log.cs.

◆ Debug() [8/8]

static void Waher.Events.Log.Debug ( string  Message,
string  Object,
string  Actor,
string  EventId,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a debug event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
TagsVariable set of tags providing event-specific information.

Definition at line 280 of file Log.cs.

◆ Emergency() [1/15]

static void Waher.Events.Log.Emergency ( Exception  Exception,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an emergency event.

Parameters
ExceptionException Object.
TagsVariable set of tags providing event-specific information.

Definition at line 1626 of file Log.cs.

◆ Emergency() [2/15]

static void Waher.Events.Log.Emergency ( Exception  Exception,
string  Object,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an emergency event.

Parameters
ExceptionException Object.
ObjectObject related to the event.
TagsVariable set of tags providing event-specific information.

Definition at line 1616 of file Log.cs.

◆ Emergency() [3/15]

static void Waher.Events.Log.Emergency ( Exception  Exception,
string  Object,
string  Actor,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an emergency event.

Parameters
ExceptionException Object.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
TagsVariable set of tags providing event-specific information.

Definition at line 1605 of file Log.cs.

◆ Emergency() [4/15]

static void Waher.Events.Log.Emergency ( Exception  Exception,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an emergency event.

Parameters
ExceptionException Object.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
TagsVariable set of tags providing event-specific information.

Definition at line 1579 of file Log.cs.

◆ Emergency() [5/15]

static void Waher.Events.Log.Emergency ( Exception  Exception,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an emergency event.

Parameters
ExceptionException Object.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
TagsVariable set of tags providing event-specific information.

Definition at line 1564 of file Log.cs.

◆ Emergency() [6/15]

static void Waher.Events.Log.Emergency ( Exception  Exception,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
string  Module,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an emergency event.

Parameters
ExceptionException Object.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
ModuleModule where the event is reported.
TagsVariable set of tags providing event-specific information.

Definition at line 1548 of file Log.cs.

◆ Emergency() [7/15]

static void Waher.Events.Log.Emergency ( Exception  Exception,
string  Object,
string  Actor,
string  EventId,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an emergency event.

Parameters
ExceptionException Object.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
TagsVariable set of tags providing event-specific information.

Definition at line 1593 of file Log.cs.

◆ Emergency() [8/15]

static void Waher.Events.Log.Emergency ( string  Message,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an emergency event.

Parameters
MessageFree-text event message.
TagsVariable set of tags providing event-specific information.

Definition at line 1532 of file Log.cs.

◆ Emergency() [9/15]

static void Waher.Events.Log.Emergency ( string  Message,
string  Object,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an emergency event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
TagsVariable set of tags providing event-specific information.

Definition at line 1522 of file Log.cs.

◆ Emergency() [10/15]

static void Waher.Events.Log.Emergency ( string  Message,
string  Object,
string  Actor,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an emergency event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
TagsVariable set of tags providing event-specific information.

Definition at line 1511 of file Log.cs.

◆ Emergency() [11/15]

static void Waher.Events.Log.Emergency ( string  Message,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an emergency event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
TagsVariable set of tags providing event-specific information.

Definition at line 1485 of file Log.cs.

◆ Emergency() [12/15]

static void Waher.Events.Log.Emergency ( string  Message,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an emergency event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
TagsVariable set of tags providing event-specific information.

Definition at line 1470 of file Log.cs.

◆ Emergency() [13/15]

static void Waher.Events.Log.Emergency ( string  Message,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
string  Module,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an emergency event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
ModuleModule where the event is reported.
TagsVariable set of tags providing event-specific information.

Definition at line 1454 of file Log.cs.

◆ Emergency() [14/15]

static void Waher.Events.Log.Emergency ( string  Message,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
string  Module,
string  StackTrace,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an emergency event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
ModuleModule where the event is reported.
StackTraceStack Trace of event.
TagsVariable set of tags providing event-specific information.

Definition at line 1437 of file Log.cs.

◆ Emergency() [15/15]

static void Waher.Events.Log.Emergency ( string  Message,
string  Object,
string  Actor,
string  EventId,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an emergency event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
TagsVariable set of tags providing event-specific information.

Definition at line 1499 of file Log.cs.

◆ Error() [1/15]

static void Waher.Events.Log.Error ( Exception  Exception,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an error event.

Parameters
ExceptionException Object.
TagsVariable set of tags providing event-specific information.

Definition at line 983 of file Log.cs.

◆ Error() [2/15]

static void Waher.Events.Log.Error ( Exception  Exception,
string  Object,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an error event.

Parameters
ExceptionException Object.
ObjectObject related to the event.
TagsVariable set of tags providing event-specific information.

Definition at line 959 of file Log.cs.

◆ Error() [3/15]

static void Waher.Events.Log.Error ( Exception  Exception,
string  Object,
string  Actor,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an error event.

Parameters
ExceptionException Object.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
TagsVariable set of tags providing event-specific information.

Definition at line 934 of file Log.cs.

◆ Error() [4/15]

static void Waher.Events.Log.Error ( Exception  Exception,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an error event.

Parameters
ExceptionException Object.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
TagsVariable set of tags providing event-specific information.

Definition at line 880 of file Log.cs.

◆ Error() [5/15]

static void Waher.Events.Log.Error ( Exception  Exception,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an error event.

Parameters
ExceptionException Object.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
TagsVariable set of tags providing event-specific information.

Definition at line 851 of file Log.cs.

◆ Error() [6/15]

static void Waher.Events.Log.Error ( Exception  Exception,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
string  Module,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an error event.

Parameters
ExceptionException Object.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
ModuleModule where the event is reported.
TagsVariable set of tags providing event-specific information.

Definition at line 793 of file Log.cs.

◆ Error() [7/15]

static void Waher.Events.Log.Error ( Exception  Exception,
string  Object,
string  Actor,
string  EventId,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an error event.

Parameters
ExceptionException Object.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
TagsVariable set of tags providing event-specific information.

Definition at line 908 of file Log.cs.

◆ Error() [8/15]

static void Waher.Events.Log.Error ( string  Message,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an error event.

Parameters
MessageFree-text event message.
TagsVariable set of tags providing event-specific information.

Definition at line 777 of file Log.cs.

◆ Error() [9/15]

static void Waher.Events.Log.Error ( string  Message,
string  Object,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an error event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
TagsVariable set of tags providing event-specific information.

Definition at line 767 of file Log.cs.

◆ Error() [10/15]

static void Waher.Events.Log.Error ( string  Message,
string  Object,
string  Actor,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an error event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
TagsVariable set of tags providing event-specific information.

Definition at line 756 of file Log.cs.

◆ Error() [11/15]

static void Waher.Events.Log.Error ( string  Message,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an error event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
TagsVariable set of tags providing event-specific information.

Definition at line 730 of file Log.cs.

◆ Error() [12/15]

static void Waher.Events.Log.Error ( string  Message,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an error event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
TagsVariable set of tags providing event-specific information.

Definition at line 715 of file Log.cs.

◆ Error() [13/15]

static void Waher.Events.Log.Error ( string  Message,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
string  Module,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an error event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
ModuleModule where the event is reported.
TagsVariable set of tags providing event-specific information.

Definition at line 699 of file Log.cs.

◆ Error() [14/15]

static void Waher.Events.Log.Error ( string  Message,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
string  Module,
string  StackTrace,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an error event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
ModuleModule where the event is reported.
StackTraceStack Trace of event.
TagsVariable set of tags providing event-specific information.

Definition at line 682 of file Log.cs.

◆ Error() [15/15]

static void Waher.Events.Log.Error ( string  Message,
string  Object,
string  Actor,
string  EventId,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an error event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
TagsVariable set of tags providing event-specific information.

Definition at line 744 of file Log.cs.

◆ Event()

static async void Waher.Events.Log.Event ( Event  Event)
static

Logs an event. It will be distributed to registered event sinks.

Parameters
EventEvent to log.

Definition at line 128 of file Log.cs.

◆ Exception() [1/7]

static void Waher.Events.Log.Exception ( Exception  Exception,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an exception. Event type will be determined by the severity of the exception.

Parameters
ExceptionException Object.
TagsVariable set of tags providing event-specific information.

Definition at line 1725 of file Log.cs.

◆ Exception() [2/7]

static void Waher.Events.Log.Exception ( Exception  Exception,
string  Object,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an exception. Event type will be determined by the severity of the exception.

Parameters
ExceptionException Object.
ObjectObject related to the event.
TagsVariable set of tags providing event-specific information.

Definition at line 1715 of file Log.cs.

◆ Exception() [3/7]

static void Waher.Events.Log.Exception ( Exception  Exception,
string  Object,
string  Actor,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an exception. Event type will be determined by the severity of the exception.

Parameters
ExceptionException Object.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
TagsVariable set of tags providing event-specific information.

Definition at line 1704 of file Log.cs.

◆ Exception() [4/7]

static void Waher.Events.Log.Exception ( Exception  Exception,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an exception. Event type will be determined by the severity of the exception.

Parameters
ExceptionException Object.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
TagsVariable set of tags providing event-specific information.

Definition at line 1678 of file Log.cs.

◆ Exception() [5/7]

static void Waher.Events.Log.Exception ( Exception  Exception,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an exception. Event type will be determined by the severity of the exception.

Parameters
ExceptionException Object.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
TagsVariable set of tags providing event-specific information.

Definition at line 1663 of file Log.cs.

◆ Exception() [6/7]

static void Waher.Events.Log.Exception ( Exception  Exception,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
string  Module,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an exception. Event type will be determined by the severity of the exception.

Parameters
ExceptionException Object.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
ModuleModule where the event is reported.
TagsVariable set of tags providing event-specific information.

Definition at line 1647 of file Log.cs.

◆ Exception() [7/7]

static void Waher.Events.Log.Exception ( Exception  Exception,
string  Object,
string  Actor,
string  EventId,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an exception. Event type will be determined by the severity of the exception.

Parameters
ExceptionException Object.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
TagsVariable set of tags providing event-specific information.

Definition at line 1692 of file Log.cs.

◆ GetEventType()

static EventType Waher.Events.Log.GetEventType ( Exception  Exception)
static

Gets the event type corresponding to a given exception object.

Parameters
ExceptionException object.
Returns
Event Type corresponding to Exception .

Definition at line 1736 of file Log.cs.

◆ Informational() [1/8]

static void Waher.Events.Log.Informational ( string  Message,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an informational event.

Parameters
MessageFree-text event message.
TagsVariable set of tags providing event-specific information.

Definition at line 429 of file Log.cs.

◆ Informational() [2/8]

static void Waher.Events.Log.Informational ( string  Message,
string  Object,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an informational event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
TagsVariable set of tags providing event-specific information.

Definition at line 419 of file Log.cs.

◆ Informational() [3/8]

static void Waher.Events.Log.Informational ( string  Message,
string  Object,
string  Actor,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an informational event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
TagsVariable set of tags providing event-specific information.

Definition at line 408 of file Log.cs.

◆ Informational() [4/8]

static void Waher.Events.Log.Informational ( string  Message,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an informational event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
TagsVariable set of tags providing event-specific information.

Definition at line 382 of file Log.cs.

◆ Informational() [5/8]

static void Waher.Events.Log.Informational ( string  Message,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an informational event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
TagsVariable set of tags providing event-specific information.

Definition at line 367 of file Log.cs.

◆ Informational() [6/8]

static void Waher.Events.Log.Informational ( string  Message,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
string  Module,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an informational event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
ModuleModule where the event is reported.
TagsVariable set of tags providing event-specific information.

Definition at line 351 of file Log.cs.

◆ Informational() [7/8]

static void Waher.Events.Log.Informational ( string  Message,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
string  Module,
string  StackTrace,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an informational event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
ModuleModule where the event is reported.
StackTraceStack Trace of event.
TagsVariable set of tags providing event-specific information.

Definition at line 334 of file Log.cs.

◆ Informational() [8/8]

static void Waher.Events.Log.Informational ( string  Message,
string  Object,
string  Actor,
string  EventId,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs an informational event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
TagsVariable set of tags providing event-specific information.

Definition at line 396 of file Log.cs.

◆ Join< T >()

static T[] Waher.Events.Log.Join< T > ( this T[]  Array,
params T[]  NewElements 
)
static

Joins two arrays

Template Parameters
TElement type.
Parameters
ArrayOriginal array
NewElementsNew elements to join.
Returns
Joined array.

Definition at line 1787 of file Log.cs.

◆ Notice() [1/8]

static void Waher.Events.Log.Notice ( string  Message,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a notice event.

Parameters
MessageFree-text event message.
TagsVariable set of tags providing event-specific information.

Definition at line 545 of file Log.cs.

◆ Notice() [2/8]

static void Waher.Events.Log.Notice ( string  Message,
string  Object,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a notice event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
TagsVariable set of tags providing event-specific information.

Definition at line 535 of file Log.cs.

◆ Notice() [3/8]

static void Waher.Events.Log.Notice ( string  Message,
string  Object,
string  Actor,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a notice event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
TagsVariable set of tags providing event-specific information.

Definition at line 524 of file Log.cs.

◆ Notice() [4/8]

static void Waher.Events.Log.Notice ( string  Message,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a notice event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
TagsVariable set of tags providing event-specific information.

Definition at line 498 of file Log.cs.

◆ Notice() [5/8]

static void Waher.Events.Log.Notice ( string  Message,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a notice event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
TagsVariable set of tags providing event-specific information.

Definition at line 483 of file Log.cs.

◆ Notice() [6/8]

static void Waher.Events.Log.Notice ( string  Message,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
string  Module,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a notice event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
ModuleModule where the event is reported.
TagsVariable set of tags providing event-specific information.

Definition at line 467 of file Log.cs.

◆ Notice() [7/8]

static void Waher.Events.Log.Notice ( string  Message,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
string  Module,
string  StackTrace,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a notice event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
ModuleModule where the event is reported.
StackTraceStack Trace of event.
TagsVariable set of tags providing event-specific information.

Definition at line 450 of file Log.cs.

◆ Notice() [8/8]

static void Waher.Events.Log.Notice ( string  Message,
string  Object,
string  Actor,
string  EventId,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a notice event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
TagsVariable set of tags providing event-specific information.

Definition at line 512 of file Log.cs.

◆ Register()

static void Waher.Events.Log.Register ( IEventSink  EventSink)
static

Registers an event sink with the event log. Call Unregister(IEventSink) to unregister it, or Terminate at the end of an application, to unregister and terminate all registered event sinks.

Parameters
EventSinkEvent Sink.

Definition at line 29 of file Log.cs.

◆ RegisterAlertExceptionType()

static void Waher.Events.Log.RegisterAlertExceptionType ( bool  Lock,
params Type[]  ExceptionTypes 
)
static

Registers a set of Exception types as Exception types that should generate alert log entries when logged.

Parameters
LockIf list of exceptions should be locked after the call.
ExceptionTypesTypes of exceptions.
Exceptions
InvalidOperationExceptionIf list has been locked and new types cannot be added.

Definition at line 1751 of file Log.cs.

◆ RegisterExceptionToUnnest()

static bool Waher.Events.Log.RegisterExceptionToUnnest ( Type  ExceptionType)
static

Register an exception type to unnest in logging. By default, only the TargetInvocationException is unnested.

Parameters
ExceptionTypeType of exception to unnest.

Definition at line 67 of file Log.cs.

◆ Terminate()

static void Waher.Events.Log.Terminate ( )
static

Must be called when the application is terminated. Stops all event sinks that have been registered.

Definition at line 90 of file Log.cs.

◆ UnnestException()

static Exception Waher.Events.Log.UnnestException ( Exception  Exception)
static

Unnests an exception, to extract the relevant inner exception.

Parameters
ExceptionException
Returns
Unnested exception.

Definition at line 818 of file Log.cs.

◆ Unregister()

static bool Waher.Events.Log.Unregister ( IEventSink  EventSink)
static

Unregisters an event sink from the event log.

Parameters
EventSinkEvent Sink.
Returns
If the sink was found and removed.

Definition at line 46 of file Log.cs.

◆ Warning() [1/8]

static void Waher.Events.Log.Warning ( string  Message,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a warning event.

Parameters
MessageFree-text event message.
TagsVariable set of tags providing event-specific information.

Definition at line 661 of file Log.cs.

◆ Warning() [2/8]

static void Waher.Events.Log.Warning ( string  Message,
string  Object,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a warning event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
TagsVariable set of tags providing event-specific information.

Definition at line 651 of file Log.cs.

◆ Warning() [3/8]

static void Waher.Events.Log.Warning ( string  Message,
string  Object,
string  Actor,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a warning event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
TagsVariable set of tags providing event-specific information.

Definition at line 640 of file Log.cs.

◆ Warning() [4/8]

static void Waher.Events.Log.Warning ( string  Message,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a warning event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
TagsVariable set of tags providing event-specific information.

Definition at line 614 of file Log.cs.

◆ Warning() [5/8]

static void Waher.Events.Log.Warning ( string  Message,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a warning event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
TagsVariable set of tags providing event-specific information.

Definition at line 599 of file Log.cs.

◆ Warning() [6/8]

static void Waher.Events.Log.Warning ( string  Message,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
string  Module,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a warning event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
ModuleModule where the event is reported.
TagsVariable set of tags providing event-specific information.

Definition at line 583 of file Log.cs.

◆ Warning() [7/8]

static void Waher.Events.Log.Warning ( string  Message,
string  Object,
string  Actor,
string  EventId,
EventLevel  Level,
string  Facility,
string  Module,
string  StackTrace,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a warning event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
LevelEvent Level.
FacilityFacility can be either a facility in the network sense or in the system sense.
ModuleModule where the event is reported.
StackTraceStack Trace of event.
TagsVariable set of tags providing event-specific information.

Definition at line 566 of file Log.cs.

◆ Warning() [8/8]

static void Waher.Events.Log.Warning ( string  Message,
string  Object,
string  Actor,
string  EventId,
params KeyValuePair< string, object >[]  Tags 
)
static

Logs a warning event.

Parameters
MessageFree-text event message.
ObjectObject related to the event.
ActorActor responsible for the action causing the event.
EventIdComputer-readable Event ID identifying type of even.
TagsVariable set of tags providing event-specific information.

Definition at line 628 of file Log.cs.

Property Documentation

◆ Sinks

IEventSink [] Waher.Events.Log.Sinks
staticget

Registered sinks.

Definition at line 122 of file Log.cs.

Event Documentation

◆ Terminating

EventHandler Waher.Events.Log.Terminating = null
static

Event raised when the application is terminating.

Definition at line 117 of file Log.cs.


The documentation for this class was generated from the following file: