Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
LogInformational.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(LogInformational);
42
46 public override string[] Aliases => new string[] { "LogInformation", "LogInfo" };
47
52 public override void DoLog(string Message)
53 {
54 Log.Informational(Message);
55 }
56
69 public override void DoLog(string Message, string Object, string Actor, string EventId, EventLevel Level,
70 string Facility, string Module, string StackTrace, params KeyValuePair<string, object>[] Tags)
71 {
72 Log.Informational(Message, Object, Actor, EventId, Level, Facility, Module, StackTrace, Tags);
73 }
74 }
75}
Static class managing the application event log. Applications and services log events on this static ...
Definition: Log.cs:13
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.
Definition: Log.cs:334
Class managing a script expression.
Definition: Expression.cs:39
Abstract base class for log functions
Definition: LogFunction.cs:13
Logs an informational event to the event log.
LogInformational(ScriptNode Message, int Start, int Length, Expression Expression)
Logs an informational event to the event log.
override string[] Aliases
Optional aliases. If there are no aliases for the function, null is returned.
override string FunctionName
Name of the function
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.
override void DoLog(string Message)
Logs information to the event log.
LogInformational(ScriptNode Message, ScriptNode Tags, int Start, int Length, Expression Expression)
Logs an informational event to the event log.
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