Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
LogEmergency.cs
1using System;
2using System.Collections.Generic;
3using Waher.Events;
5
7{
12 {
21 : base(Message, Start, Length, Expression)
22 {
23 }
24
34 : base(Message, Tags, Start, Length, Expression)
35 {
36 }
37
41 public override string FunctionName => nameof(LogEmergency);
42
47 public override void DoLog(string Message)
48 {
49 Log.Emergency(Message);
50 }
51
64 public override void DoLog(string Message, string Object, string Actor, string EventId, EventLevel Level,
65 string Facility, string Module, string StackTrace, params KeyValuePair<string, object>[] Tags)
66 {
67 Log.Emergency(Message, Object, Actor, EventId, Level, Facility, Module, StackTrace, Tags);
68 }
69 }
70}
Static class managing the application event log. Applications and services log events on this static ...
Definition: Log.cs:13
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.
Definition: Log.cs:1437
Class managing a script expression.
Definition: Expression.cs:39
Logs an emergency event to the event log.
Definition: LogEmergency.cs:12
override string FunctionName
Name of the function
Definition: LogEmergency.cs:41
LogEmergency(ScriptNode Message, ScriptNode Tags, int Start, int Length, Expression Expression)
Logs an emergency event to the event log.
Definition: LogEmergency.cs:33
override void DoLog(string Message, string Object, string Actor, string EventId, EventLevel Level, string Facility, string Module, string StackTrace, params KeyValuePair< string, object >[] Tags)
Logs information to the event log.
Definition: LogEmergency.cs:64
LogEmergency(ScriptNode Message, int Start, int Length, Expression Expression)
Logs an emergency event to the event log.
Definition: LogEmergency.cs:20
override void DoLog(string Message)
Logs information to the event log.
Definition: LogEmergency.cs:47
Abstract base class for log functions
Definition: LogFunction.cs:13
Base class for all nodes in a parsed script tree.
Definition: ScriptNode.cs:69
int Length
Length of expression covered by node.
Definition: ScriptNode.cs:101
int Start
Start position in script expression.
Definition: ScriptNode.cs:92
EventLevel
Event level.
Definition: EventLevel.cs:7