Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
LogNotice.cs
1using System;
2using System.Collections.Generic;
3using Waher.Events;
5
7{
11 public class LogNotice : LogFunction
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(LogNotice);
42
47 public override void DoLog(string Message)
48 {
49 Log.Notice(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.Notice(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 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.
Definition: Log.cs:450
Class managing a script expression.
Definition: Expression.cs:39
Abstract base class for log functions
Definition: LogFunction.cs:13
Logs a notice event to the event log.
Definition: LogNotice.cs:12
override void DoLog(string Message)
Logs information to the event log.
Definition: LogNotice.cs:47
LogNotice(ScriptNode Message, int Start, int Length, Expression Expression)
Logs a notice event to the event log.
Definition: LogNotice.cs:20
override string FunctionName
Name of the function
Definition: LogNotice.cs:41
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: LogNotice.cs:64
LogNotice(ScriptNode Message, ScriptNode Tags, int Start, int Length, Expression Expression)
Logs a notice event to the event log.
Definition: LogNotice.cs:33
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