Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ILogObject.cs
1using System;
2using System.Collections.Generic;
3
4namespace Waher.Events
5{
9 public interface ILogObject : IDisposable
10 {
14 string ObjectID
15 {
16 get;
17 }
18
19 #region Debug
20
32 void LogDebug(string Message, string Actor, string EventId, EventLevel Level,
33 string Facility, string Module, string StackTrace, params KeyValuePair<string, object>[] Tags);
34
45 void LogDebug(string Message, string Actor, string EventId, EventLevel Level,
46 string Facility, string Module, params KeyValuePair<string, object>[] Tags);
47
57 void LogDebug(string Message, string Actor, string EventId, EventLevel Level,
58 string Facility, params KeyValuePair<string, object>[] Tags);
59
68 void LogDebug(string Message, string Actor, string EventId, EventLevel Level,
69 params KeyValuePair<string, object>[] Tags);
70
78 void LogDebug(string Message, string Actor, string EventId, params KeyValuePair<string, object>[] Tags);
79
86 void LogDebug(string Message, string Actor, params KeyValuePair<string, object>[] Tags);
87
93 void LogDebug(string Message, params KeyValuePair<string, object>[] Tags);
94
95 #endregion
96
97 #region Informational
98
110 void LogInformational(string Message, string Actor, string EventId, EventLevel Level,
111 string Facility, string Module, string StackTrace, params KeyValuePair<string, object>[] Tags);
112
123 void LogInformational(string Message, string Actor, string EventId, EventLevel Level,
124 string Facility, string Module, params KeyValuePair<string, object>[] Tags);
125
135 void LogInformational(string Message, string Actor, string EventId, EventLevel Level,
136 string Facility, params KeyValuePair<string, object>[] Tags);
137
146 void LogInformational(string Message, string Actor, string EventId, EventLevel Level,
147 params KeyValuePair<string, object>[] Tags);
148
156 void LogInformational(string Message, string Actor, string EventId, params KeyValuePair<string, object>[] Tags);
157
164 void LogInformational(string Message, string Actor, params KeyValuePair<string, object>[] Tags);
165
171 void LogInformational(string Message, params KeyValuePair<string, object>[] Tags);
172
173 #endregion
174
175 #region Notice
176
188 void LogNotice(string Message, string Actor, string EventId, EventLevel Level,
189 string Facility, string Module, string StackTrace, params KeyValuePair<string, object>[] Tags);
190
201 void LogNotice(string Message, string Actor, string EventId, EventLevel Level,
202 string Facility, string Module, params KeyValuePair<string, object>[] Tags);
203
213 void LogNotice(string Message, string Actor, string EventId, EventLevel Level,
214 string Facility, params KeyValuePair<string, object>[] Tags);
215
224 void LogNotice(string Message, string Actor, string EventId, EventLevel Level,
225 params KeyValuePair<string, object>[] Tags);
226
234 void LogNotice(string Message, string Actor, string EventId, params KeyValuePair<string, object>[] Tags);
235
242 void LogNotice(string Message, string Actor, params KeyValuePair<string, object>[] Tags);
243
249 void LogNotice(string Message, params KeyValuePair<string, object>[] Tags);
250
251 #endregion
252
253 #region Warning
254
266 void LogWarning(string Message, string Actor, string EventId, EventLevel Level,
267 string Facility, string Module, string StackTrace, params KeyValuePair<string, object>[] Tags);
268
279 void LogWarning(string Message, string Actor, string EventId, EventLevel Level,
280 string Facility, string Module, params KeyValuePair<string, object>[] Tags);
281
291 void LogWarning(string Message, string Actor, string EventId, EventLevel Level,
292 string Facility, params KeyValuePair<string, object>[] Tags);
293
302 void LogWarning(string Message, string Actor, string EventId, EventLevel Level,
303 params KeyValuePair<string, object>[] Tags);
304
312 void LogWarning(string Message, string Actor, string EventId, params KeyValuePair<string, object>[] Tags);
313
320 void LogWarning(string Message, string Actor, params KeyValuePair<string, object>[] Tags);
321
327 void LogWarning(string Message, params KeyValuePair<string, object>[] Tags);
328
329 #endregion
330
331 #region Error
332
344 void LogError(string Message, string Actor, string EventId, EventLevel Level,
345 string Facility, string Module, string StackTrace, params KeyValuePair<string, object>[] Tags);
346
357 void LogError(string Message, string Actor, string EventId, EventLevel Level,
358 string Facility, string Module, params KeyValuePair<string, object>[] Tags);
359
369 void LogError(string Message, string Actor, string EventId, EventLevel Level,
370 string Facility, params KeyValuePair<string, object>[] Tags);
371
380 void LogError(string Message, string Actor, string EventId, EventLevel Level,
381 params KeyValuePair<string, object>[] Tags);
382
390 void LogError(string Message, string Actor, string EventId, params KeyValuePair<string, object>[] Tags);
391
398 void LogError(string Message, string Actor, params KeyValuePair<string, object>[] Tags);
399
405 void LogError(string Message, params KeyValuePair<string, object>[] Tags);
406
417 void LogError(Exception Exception, string Actor, string EventId, EventLevel Level,
418 string Facility, string Module, params KeyValuePair<string, object>[] Tags);
419
429 void LogError(Exception Exception, string Actor, string EventId, EventLevel Level,
430 string Facility, params KeyValuePair<string, object>[] Tags);
431
440 void LogError(Exception Exception, string Actor, string EventId, EventLevel Level,
441 params KeyValuePair<string, object>[] Tags);
442
450 void LogError(Exception Exception, string Actor, string EventId, params KeyValuePair<string, object>[] Tags);
451
458 void LogError(Exception Exception, string Actor, params KeyValuePair<string, object>[] Tags);
459
465 void LogError(Exception Exception, params KeyValuePair<string, object>[] Tags);
466
467 #endregion
468
469 #region Critical
470
482 void LogCritical(string Message, string Actor, string EventId, EventLevel Level,
483 string Facility, string Module, string StackTrace, params KeyValuePair<string, object>[] Tags);
484
495 void LogCritical(string Message, string Actor, string EventId, EventLevel Level,
496 string Facility, string Module, params KeyValuePair<string, object>[] Tags);
497
507 void LogCritical(string Message, string Actor, string EventId, EventLevel Level,
508 string Facility, params KeyValuePair<string, object>[] Tags);
509
518 void LogCritical(string Message, string Actor, string EventId, EventLevel Level,
519 params KeyValuePair<string, object>[] Tags);
520
528 void LogCritical(string Message, string Actor, string EventId, params KeyValuePair<string, object>[] Tags);
529
536 void LogCritical(string Message, string Actor, params KeyValuePair<string, object>[] Tags);
537
543 void LogCritical(string Message, params KeyValuePair<string, object>[] Tags);
544
555 void LogCritical(Exception Exception, string Actor, string EventId, EventLevel Level,
556 string Facility, string Module, params KeyValuePair<string, object>[] Tags);
557
567 void LogCritical(Exception Exception, string Actor, string EventId, EventLevel Level,
568 string Facility, params KeyValuePair<string, object>[] Tags);
569
578 void LogCritical(Exception Exception, string Actor, string EventId, EventLevel Level,
579 params KeyValuePair<string, object>[] Tags);
580
588 void LogCritical(Exception Exception, string Actor, string EventId, params KeyValuePair<string, object>[] Tags);
589
596 void LogCritical(Exception Exception, string Actor, params KeyValuePair<string, object>[] Tags);
597
603 void LogCritical(Exception Exception, params KeyValuePair<string, object>[] Tags);
604
605 #endregion
606
607 #region Alert
608
620 void LogAlert(string Message, string Actor, string EventId, EventLevel Level,
621 string Facility, string Module, string StackTrace, params KeyValuePair<string, object>[] Tags);
622
633 void LogAlert(string Message, string Actor, string EventId, EventLevel Level,
634 string Facility, string Module, params KeyValuePair<string, object>[] Tags);
635
645 void LogAlert(string Message, string Actor, string EventId, EventLevel Level,
646 string Facility, params KeyValuePair<string, object>[] Tags);
647
656 void LogAlert(string Message, string Actor, string EventId, EventLevel Level,
657 params KeyValuePair<string, object>[] Tags);
658
666 void LogAlert(string Message, string Actor, string EventId, params KeyValuePair<string, object>[] Tags);
667
674 void LogAlert(string Message, string Actor, params KeyValuePair<string, object>[] Tags);
675
681 void LogAlert(string Message, params KeyValuePair<string, object>[] Tags);
682
693 void LogAlert(Exception Exception, string Actor, string EventId, EventLevel Level,
694 string Facility, string Module, params KeyValuePair<string, object>[] Tags);
695
705 void LogAlert(Exception Exception, string Actor, string EventId, EventLevel Level,
706 string Facility, params KeyValuePair<string, object>[] Tags);
707
716 void LogAlert(Exception Exception, string Actor, string EventId, EventLevel Level,
717 params KeyValuePair<string, object>[] Tags);
718
726 void LogAlert(Exception Exception, string Actor, string EventId, params KeyValuePair<string, object>[] Tags);
727
734 void LogAlert(Exception Exception, string Actor, params KeyValuePair<string, object>[] Tags);
735
741 void LogAlert(Exception Exception, params KeyValuePair<string, object>[] Tags);
742
743 #endregion
744
745 #region Emergency
746
758 void LogEmergency(string Message, string Actor, string EventId, EventLevel Level,
759 string Facility, string Module, string StackTrace, params KeyValuePair<string, object>[] Tags);
760
771 void LogEmergency(string Message, string Actor, string EventId, EventLevel Level,
772 string Facility, string Module, params KeyValuePair<string, object>[] Tags);
773
783 void LogEmergency(string Message, string Actor, string EventId, EventLevel Level,
784 string Facility, params KeyValuePair<string, object>[] Tags);
785
794 void LogEmergency(string Message, string Actor, string EventId, EventLevel Level,
795 params KeyValuePair<string, object>[] Tags);
796
804 void LogEmergency(string Message, string Actor, string EventId, params KeyValuePair<string, object>[] Tags);
805
812 void LogEmergency(string Message, string Actor, params KeyValuePair<string, object>[] Tags);
813
819 void LogEmergency(string Message, params KeyValuePair<string, object>[] Tags);
820
831 void LogEmergency(Exception Exception, string Actor, string EventId, EventLevel Level,
832 string Facility, string Module, params KeyValuePair<string, object>[] Tags);
833
843 void LogEmergency(Exception Exception, string Actor, string EventId, EventLevel Level,
844 string Facility, params KeyValuePair<string, object>[] Tags);
845
854 void LogEmergency(Exception Exception, string Actor, string EventId, EventLevel Level,
855 params KeyValuePair<string, object>[] Tags);
856
864 void LogEmergency(Exception Exception, string Actor, string EventId, params KeyValuePair<string, object>[] Tags);
865
872 void LogEmergency(Exception Exception, string Actor, params KeyValuePair<string, object>[] Tags);
873
879 void LogEmergency(Exception Exception, params KeyValuePair<string, object>[] Tags);
880
881 #endregion
882 }
883}
Interface for objects that can log events.
Definition: ILogObject.cs:10
void LogDebug(string Message, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs a debug event.
void LogError(Exception Exception, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
Logs an error event.
void LogNotice(string Message, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
Logs a notice event.
void LogError(Exception Exception, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs an error event.
void LogAlert(Exception Exception, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
void LogError(string Message, string Actor, params KeyValuePair< string, object >[] Tags)
Logs an error event.
void LogDebug(string Message, params KeyValuePair< string, object >[] Tags)
Logs a debug event.
void LogEmergency(string Message, string Actor, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
void LogCritical(string Message, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
void LogError(Exception Exception, params KeyValuePair< string, object >[] Tags)
Logs an error event.
void LogNotice(string Message, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs a notice event.
void LogCritical(string Message, string Actor, string EventId, EventLevel Level, string Facility, string Module, string StackTrace, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
void LogEmergency(string Message, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
void LogError(Exception Exception, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs an error event.
void LogEmergency(Exception Exception, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
void LogAlert(string Message, string Actor, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
void LogError(string Message, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs an error event.
void LogNotice(string Message, string Actor, string EventId, EventLevel Level, string Facility, string Module, string StackTrace, params KeyValuePair< string, object >[] Tags)
Logs a notice event.
void LogEmergency(string Message, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
void LogCritical(Exception Exception, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
void LogInformational(string Message, string Actor, string EventId, EventLevel Level, string Facility, string Module, string StackTrace, params KeyValuePair< string, object >[] Tags)
Logs an informational event.
void LogInformational(string Message, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
Logs an informational event.
void LogInformational(string Message, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs an informational event.
void LogEmergency(Exception Exception, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
void LogError(Exception Exception, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs an error event.
void LogWarning(string Message, string Actor, params KeyValuePair< string, object >[] Tags)
Logs a warning event.
void LogCritical(string Message, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
void LogNotice(string Message, params KeyValuePair< string, object >[] Tags)
Logs a notice event.
void LogNotice(string Message, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs a notice event.
void LogCritical(Exception Exception, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
void LogNotice(string Message, string Actor, params KeyValuePair< string, object >[] Tags)
Logs a notice event.
void LogDebug(string Message, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
Logs a debug event.
void LogCritical(string Message, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
void LogWarning(string Message, string Actor, string EventId, EventLevel Level, string Facility, string Module, string StackTrace, params KeyValuePair< string, object >[] Tags)
Logs a warning event.
void LogAlert(string Message, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
void LogWarning(string Message, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs a warning event.
void LogAlert(string Message, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
void LogInformational(string Message, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs an informational event.
void LogDebug(string Message, string Actor, params KeyValuePair< string, object >[] Tags)
Logs a debug event.
void LogEmergency(string Message, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
void LogCritical(string Message, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
void LogAlert(string Message, string Actor, string EventId, EventLevel Level, string Facility, string Module, string StackTrace, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
void LogError(string Message, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs an error event.
void LogAlert(string Message, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
string ObjectID
Object ID, used when logging events.
Definition: ILogObject.cs:15
void LogWarning(string Message, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs a warning event.
void LogCritical(Exception Exception, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
void LogNotice(string Message, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs a notice event.
void LogEmergency(string Message, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
void LogInformational(string Message, params KeyValuePair< string, object >[] Tags)
Logs an informational event.
void LogAlert(Exception Exception, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
void LogEmergency(Exception Exception, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
void LogCritical(string Message, string Actor, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
void LogDebug(string Message, string Actor, string EventId, EventLevel Level, string Facility, string Module, string StackTrace, params KeyValuePair< string, object >[] Tags)
Logs a debug event.
void LogAlert(string Message, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
void LogError(Exception Exception, string Actor, params KeyValuePair< string, object >[] Tags)
Logs an error event.
void LogAlert(Exception Exception, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
void LogAlert(Exception Exception, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
void LogAlert(string Message, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
void LogCritical(string Message, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
void LogAlert(Exception Exception, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
void LogDebug(string Message, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs a debug event.
void LogInformational(string Message, string Actor, params KeyValuePair< string, object >[] Tags)
Logs an informational event.
void LogEmergency(string Message, string Actor, string EventId, EventLevel Level, string Facility, string Module, string StackTrace, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
void LogCritical(Exception Exception, string Actor, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
void LogError(string Message, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs an error event.
void LogCritical(Exception Exception, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
void LogWarning(string Message, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
Logs a warning event.
void LogAlert(Exception Exception, string Actor, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
void LogEmergency(Exception Exception, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
void LogError(string Message, string Actor, string EventId, EventLevel Level, string Facility, string Module, string StackTrace, params KeyValuePair< string, object >[] Tags)
Logs an error event.
void LogError(string Message, params KeyValuePair< string, object >[] Tags)
Logs an error event.
void LogWarning(string Message, params KeyValuePair< string, object >[] Tags)
Logs a warning event.
void LogEmergency(string Message, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
void LogCritical(Exception Exception, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
void LogEmergency(Exception Exception, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
void LogDebug(string Message, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs a debug event.
void LogError(string Message, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
Logs an error event.
void LogInformational(string Message, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs an informational event.
void LogWarning(string Message, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs a warning event.
void LogEmergency(Exception Exception, string Actor, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
EventLevel
Event level.
Definition: EventLevel.cs:7