Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
LogObject.cs
1using System;
3using System.Threading.Tasks;
4
5namespace Waher.Events
6{
10 public abstract class LogObject : ILogObject
11 {
12 private readonly string objectId;
13
18 public LogObject(string ObjectID)
19 {
20 this.objectId = ObjectID;
21 }
22
26 public virtual string ObjectID => this.objectId;
27
28 #region Debug
29
41 public void LogDebug(string Message, string Actor, string EventId, EventLevel Level,
42 string Facility, string Module, string StackTrace, params KeyValuePair<string, object>[] Tags)
43 {
44 Log.Debug(Message, this.ObjectID, Actor, EventId, Level, Facility, Module, StackTrace, Tags);
45 }
46
57 public void LogDebug(string Message, string Actor, string EventId, EventLevel Level,
58 string Facility, string Module, params KeyValuePair<string, object>[] Tags)
59 {
60 Log.Debug(Message, this.ObjectID, Actor, EventId, Level, Facility, Module, Tags);
61 }
62
72 public void LogDebug(string Message, string Actor, string EventId, EventLevel Level,
73 string Facility, params KeyValuePair<string, object>[] Tags)
74 {
75 Log.Debug(Message, this.ObjectID, Actor, EventId, Level, Facility, Tags);
76 }
77
86 public void LogDebug(string Message, string Actor, string EventId, EventLevel Level,
87 params KeyValuePair<string, object>[] Tags)
88 {
89 Log.Debug(Message, this.ObjectID, Actor, EventId, Level, Tags);
90 }
91
99 public void LogDebug(string Message, string Actor, string EventId, params KeyValuePair<string, object>[] Tags)
100 {
101 Log.Debug(Message, this.ObjectID, Actor, EventId, Tags);
102 }
103
110 public void LogDebug(string Message, string Actor, params KeyValuePair<string, object>[] Tags)
111 {
112 Log.Debug(Message, this.ObjectID, Actor, Tags);
113 }
114
120 public void LogDebug(string Message, params KeyValuePair<string, object>[] Tags)
121 {
122 Log.Debug(Message, this.ObjectID, Tags);
123 }
124
125 #endregion
126
127 #region Informational
128
140 public void LogInformational(string Message, string Actor, string EventId, EventLevel Level,
141 string Facility, string Module, string StackTrace, params KeyValuePair<string, object>[] Tags)
142 {
143 Log.Informational(Message, this.ObjectID, Actor, EventId, Level, Facility, Module, StackTrace, Tags);
144 }
145
156 public void LogInformational(string Message, string Actor, string EventId, EventLevel Level,
157 string Facility, string Module, params KeyValuePair<string, object>[] Tags)
158 {
159 Log.Informational(Message, this.ObjectID, Actor, EventId, Level, Facility, Module, Tags);
160 }
161
171 public void LogInformational(string Message, string Actor, string EventId, EventLevel Level,
172 string Facility, params KeyValuePair<string, object>[] Tags)
173 {
174 Log.Informational(Message, this.ObjectID, Actor, EventId, Level, Facility, Tags);
175 }
176
185 public void LogInformational(string Message, string Actor, string EventId, EventLevel Level,
186 params KeyValuePair<string, object>[] Tags)
187 {
188 Log.Informational(Message, this.ObjectID, Actor, EventId, Level, Tags);
189 }
190
198 public void LogInformational(string Message, string Actor, string EventId, params KeyValuePair<string, object>[] Tags)
199 {
200 Log.Informational(Message, this.ObjectID, Actor, EventId, Tags);
201 }
202
209 public void LogInformational(string Message, string Actor, params KeyValuePair<string, object>[] Tags)
210 {
211 Log.Informational(Message, this.ObjectID, Actor, Tags);
212 }
213
219 public void LogInformational(string Message, params KeyValuePair<string, object>[] Tags)
220 {
221 Log.Informational(Message, this.ObjectID, Tags);
222 }
223
224 #endregion
225
226 #region Notice
227
239 public void LogNotice(string Message, string Actor, string EventId, EventLevel Level,
240 string Facility, string Module, string StackTrace, params KeyValuePair<string, object>[] Tags)
241 {
242 Log.Notice(Message, this.ObjectID, Actor, EventId, Level, Facility, Module, StackTrace, Tags);
243 }
244
255 public void LogNotice(string Message, string Actor, string EventId, EventLevel Level,
256 string Facility, string Module, params KeyValuePair<string, object>[] Tags)
257 {
258 Log.Notice(Message, this.ObjectID, Actor, EventId, Level, Facility, Module, Tags);
259 }
260
270 public void LogNotice(string Message, string Actor, string EventId, EventLevel Level,
271 string Facility, params KeyValuePair<string, object>[] Tags)
272 {
273 Log.Notice(Message, this.ObjectID, Actor, EventId, Level, Facility, Tags);
274 }
275
284 public void LogNotice(string Message, string Actor, string EventId, EventLevel Level,
285 params KeyValuePair<string, object>[] Tags)
286 {
287 Log.Notice(Message, this.ObjectID, Actor, EventId, Level, Tags);
288 }
289
297 public void LogNotice(string Message, string Actor, string EventId, params KeyValuePair<string, object>[] Tags)
298 {
299 Log.Notice(Message, this.ObjectID, Actor, EventId, Tags);
300 }
301
308 public void LogNotice(string Message, string Actor, params KeyValuePair<string, object>[] Tags)
309 {
310 Log.Notice(Message, this.ObjectID, Actor, Tags);
311 }
312
318 public void LogNotice(string Message, params KeyValuePair<string, object>[] Tags)
319 {
320 Log.Notice(Message, this.ObjectID);
321 }
322
323 #endregion
324
325 #region Warning
326
338 public void LogWarning(string Message, string Actor, string EventId, EventLevel Level,
339 string Facility, string Module, string StackTrace, params KeyValuePair<string, object>[] Tags)
340 {
341 Log.Warning(Message, this.ObjectID, Actor, EventId, Level, Facility, Module, StackTrace, Tags);
342 }
343
354 public void LogWarning(string Message, string Actor, string EventId, EventLevel Level,
355 string Facility, string Module, params KeyValuePair<string, object>[] Tags)
356 {
357 Log.Warning(Message, this.ObjectID, Actor, EventId, Level, Facility, Module, Tags);
358 }
359
369 public void LogWarning(string Message, string Actor, string EventId, EventLevel Level,
370 string Facility, params KeyValuePair<string, object>[] Tags)
371 {
372 Log.Warning(Message, this.ObjectID, Actor, EventId, Level, Facility, Tags);
373 }
374
383 public void LogWarning(string Message, string Actor, string EventId, EventLevel Level,
384 params KeyValuePair<string, object>[] Tags)
385 {
386 Log.Warning(Message, this.ObjectID, Actor, EventId, Level, Tags);
387 }
388
396 public void LogWarning(string Message, string Actor, string EventId, params KeyValuePair<string, object>[] Tags)
397 {
398 Log.Warning(Message, this.ObjectID, Actor, EventId, Tags);
399 }
400
407 public void LogWarning(string Message, string Actor, params KeyValuePair<string, object>[] Tags)
408 {
409 Log.Warning(Message, this.ObjectID, Actor, Tags);
410 }
411
417 public void LogWarning(string Message, params KeyValuePair<string, object>[] Tags)
418 {
419 Log.Warning(Message, this.ObjectID, Tags);
420 }
421
422 #endregion
423
424 #region Error
425
437 public void LogError(string Message, string Actor, string EventId, EventLevel Level,
438 string Facility, string Module, string StackTrace, params KeyValuePair<string, object>[] Tags)
439 {
440 Log.Error(Message, this.ObjectID, Actor, EventId, Level, Facility, Module, StackTrace, Tags);
441 }
442
453 public void LogError(string Message, string Actor, string EventId, EventLevel Level,
454 string Facility, string Module, params KeyValuePair<string, object>[] Tags)
455 {
456 Log.Error(Message, this.ObjectID, Actor, EventId, Level, Facility, Module, Tags);
457 }
458
468 public void LogError(string Message, string Actor, string EventId, EventLevel Level,
469 string Facility, params KeyValuePair<string, object>[] Tags)
470 {
471 Log.Error(Message, this.ObjectID, Actor, EventId, Level, Facility, Tags);
472 }
473
482 public void LogError(string Message, string Actor, string EventId, EventLevel Level,
483 params KeyValuePair<string, object>[] Tags)
484 {
485 Log.Error(Message, this.ObjectID, Actor, EventId, Level, Tags);
486 }
487
495 public void LogError(string Message, string Actor, string EventId, params KeyValuePair<string, object>[] Tags)
496 {
497 Log.Error(Message, this.ObjectID, Actor, EventId, Tags);
498 }
499
506 public void LogError(string Message, string Actor, params KeyValuePair<string, object>[] Tags)
507 {
508 Log.Error(Message, this.ObjectID, Actor, Tags);
509 }
510
516 public void LogError(string Message, params KeyValuePair<string, object>[] Tags)
517 {
518 Log.Error(Message, this.ObjectID, Tags);
519 }
520
531 public void LogError(Exception Exception, string Actor, string EventId, EventLevel Level,
532 string Facility, string Module, params KeyValuePair<string, object>[] Tags)
533 {
534 Log.Error(Exception, this.ObjectID, Actor, EventId, Level, Facility, Module, Tags);
535 }
536
546 public void LogError(Exception Exception, string Actor, string EventId, EventLevel Level,
547 string Facility, params KeyValuePair<string, object>[] Tags)
548 {
549 Log.Error(Exception, this.ObjectID, Actor, EventId, Level, Facility, Tags);
550 }
551
560 public void LogError(Exception Exception, string Actor, string EventId, EventLevel Level,
561 params KeyValuePair<string, object>[] Tags)
562 {
563 Log.Error(Exception, this.ObjectID, Actor, EventId, Level, Tags);
564 }
565
573 public void LogError(Exception Exception, string Actor, string EventId, params KeyValuePair<string, object>[] Tags)
574 {
575 Log.Error(Exception, this.ObjectID, Actor, EventId, Tags);
576 }
577
584 public void LogError(Exception Exception, string Actor, params KeyValuePair<string, object>[] Tags)
585 {
586 Log.Error(Exception, this.ObjectID, Actor, Tags);
587 }
588
594 public void LogError(Exception Exception, params KeyValuePair<string, object>[] Tags)
595 {
596 Log.Error(Exception, this.ObjectID, Tags);
597 }
598
599 #endregion
600
601 #region Critical
602
614 public void LogCritical(string Message, string Actor, string EventId, EventLevel Level,
615 string Facility, string Module, string StackTrace, params KeyValuePair<string, object>[] Tags)
616 {
617 Log.Critical(Message, this.ObjectID, Actor, EventId, Level, Facility, Module, StackTrace, Tags);
618 }
619
630 public void LogCritical(string Message, string Actor, string EventId, EventLevel Level,
631 string Facility, string Module, params KeyValuePair<string, object>[] Tags)
632 {
633 Log.Critical(Message, this.ObjectID, Actor, EventId, Level, Facility, Module, Tags);
634 }
635
645 public void LogCritical(string Message, string Actor, string EventId, EventLevel Level,
646 string Facility, params KeyValuePair<string, object>[] Tags)
647 {
648 Log.Critical(Message, this.ObjectID, Actor, EventId, Level, Facility, Tags);
649 }
650
659 public void LogCritical(string Message, string Actor, string EventId, EventLevel Level,
660 params KeyValuePair<string, object>[] Tags)
661 {
662 Log.Critical(Message, this.ObjectID, Actor, EventId, Level, Tags);
663 }
664
672 public void LogCritical(string Message, string Actor, string EventId, params KeyValuePair<string, object>[] Tags)
673 {
674 Log.Critical(Message, this.ObjectID, Actor, EventId, Tags);
675 }
676
683 public void LogCritical(string Message, string Actor, params KeyValuePair<string, object>[] Tags)
684 {
685 Log.Critical(Message, this.ObjectID, Actor, Tags);
686 }
687
693 public void LogCritical(string Message, params KeyValuePair<string, object>[] Tags)
694 {
695 Log.Critical(Message, this.ObjectID, Tags);
696 }
697
708 public void LogCritical(Exception Exception, string Actor, string EventId, EventLevel Level,
709 string Facility, string Module, params KeyValuePair<string, object>[] Tags)
710 {
711 Log.Critical(Exception, this.ObjectID, Actor, EventId, Level, Facility, Module, Tags);
712 }
713
723 public void LogCritical(Exception Exception, string Actor, string EventId, EventLevel Level,
724 string Facility, params KeyValuePair<string, object>[] Tags)
725 {
726 Log.Critical(Exception, this.ObjectID, Actor, EventId, Level, Facility, Tags);
727 }
728
737 public void LogCritical(Exception Exception, string Actor, string EventId, EventLevel Level,
738 params KeyValuePair<string, object>[] Tags)
739 {
740 Log.Critical(Exception, this.ObjectID, Actor, EventId, Level, Tags);
741 }
742
750 public void LogCritical(Exception Exception, string Actor, string EventId, params KeyValuePair<string, object>[] Tags)
751 {
752 Log.Critical(Exception, this.ObjectID, Actor, EventId, Tags);
753 }
754
761 public void LogCritical(Exception Exception, string Actor, params KeyValuePair<string, object>[] Tags)
762 {
763 Log.Critical(Exception, this.ObjectID, Actor, Tags);
764 }
765
771 public void LogCritical(Exception Exception, params KeyValuePair<string, object>[] Tags)
772 {
773 Log.Critical(Exception, this.ObjectID, Tags);
774 }
775
776 #endregion
777
778 #region Alert
779
791 public void LogAlert(string Message, string Actor, string EventId, EventLevel Level,
792 string Facility, string Module, string StackTrace, params KeyValuePair<string, object>[] Tags)
793 {
794 Log.Alert(Message, this.ObjectID, Actor, EventId, Level, Facility, Module, StackTrace, Tags);
795 }
796
807 public void LogAlert(string Message, string Actor, string EventId, EventLevel Level,
808 string Facility, string Module, params KeyValuePair<string, object>[] Tags)
809 {
810 Log.Alert(Message, this.ObjectID, Actor, EventId, Level, Facility, Module, Tags);
811 }
812
822 public void LogAlert(string Message, string Actor, string EventId, EventLevel Level,
823 string Facility, params KeyValuePair<string, object>[] Tags)
824 {
825 Log.Alert(Message, this.ObjectID, Actor, EventId, Level, Facility, Tags);
826 }
827
836 public void LogAlert(string Message, string Actor, string EventId, EventLevel Level,
837 params KeyValuePair<string, object>[] Tags)
838 {
839 Log.Alert(Message, this.ObjectID, Actor, EventId, Level, Tags);
840 }
841
849 public void LogAlert(string Message, string Actor, string EventId, params KeyValuePair<string, object>[] Tags)
850 {
851 Log.Alert(Message, this.ObjectID, Actor, EventId, Tags);
852 }
853
860 public void LogAlert(string Message, string Actor, params KeyValuePair<string, object>[] Tags)
861 {
862 Log.Alert(Message, this.ObjectID, Actor, Tags);
863 }
864
870 public void LogAlert(string Message, params KeyValuePair<string, object>[] Tags)
871 {
872 Log.Alert(Message, this.ObjectID, Tags);
873 }
874
885 public void LogAlert(Exception Exception, string Actor, string EventId, EventLevel Level,
886 string Facility, string Module, params KeyValuePair<string, object>[] Tags)
887 {
888 Log.Alert(Exception, this.ObjectID, Actor, EventId, Level, Facility, Module, Tags);
889 }
890
900 public void LogAlert(Exception Exception, string Actor, string EventId, EventLevel Level,
901 string Facility, params KeyValuePair<string, object>[] Tags)
902 {
903 Log.Alert(Exception, this.ObjectID, Actor, EventId, Level, Facility, Tags);
904 }
905
914 public void LogAlert(Exception Exception, string Actor, string EventId, EventLevel Level,
915 params KeyValuePair<string, object>[] Tags)
916 {
917 Log.Alert(Exception, this.ObjectID, Actor, EventId, Level, Tags);
918 }
919
927 public void LogAlert(Exception Exception, string Actor, string EventId, params KeyValuePair<string, object>[] Tags)
928 {
929 Log.Alert(Exception, this.ObjectID, Actor, EventId, Tags);
930 }
931
938 public void LogAlert(Exception Exception, string Actor, params KeyValuePair<string, object>[] Tags)
939 {
940 Log.Alert(Exception, this.ObjectID, Actor, Tags);
941 }
942
948 public void LogAlert(Exception Exception, params KeyValuePair<string, object>[] Tags)
949 {
950 Log.Alert(Exception, this.ObjectID, Tags);
951 }
952
953 #endregion
954
955 #region Emergency
956
968 public void LogEmergency(string Message, string Actor, string EventId, EventLevel Level,
969 string Facility, string Module, string StackTrace, params KeyValuePair<string, object>[] Tags)
970 {
971 Log.Emergency(Message, this.ObjectID, Actor, EventId, Level, Facility, Module, StackTrace, Tags);
972 }
973
984 public void LogEmergency(string Message, string Actor, string EventId, EventLevel Level,
985 string Facility, string Module, params KeyValuePair<string, object>[] Tags)
986 {
987 Log.Emergency(Message, this.ObjectID, Actor, EventId, Level, Facility, Module, Tags);
988 }
989
999 public void LogEmergency(string Message, string Actor, string EventId, EventLevel Level,
1000 string Facility, params KeyValuePair<string, object>[] Tags)
1001 {
1002 Log.Emergency(Message, this.ObjectID, Actor, EventId, Level, Facility, Tags);
1003 }
1004
1013 public void LogEmergency(string Message, string Actor, string EventId, EventLevel Level,
1014 params KeyValuePair<string, object>[] Tags)
1015 {
1016 Log.Emergency(Message, this.ObjectID, Actor, EventId, Level, Tags);
1017 }
1018
1026 public void LogEmergency(string Message, string Actor, string EventId, params KeyValuePair<string, object>[] Tags)
1027 {
1028 Log.Emergency(Message, this.ObjectID, Actor, EventId, Tags);
1029 }
1030
1037 public void LogEmergency(string Message, string Actor, params KeyValuePair<string, object>[] Tags)
1038 {
1039 Log.Emergency(Message, this.ObjectID, Actor, Tags);
1040 }
1041
1047 public void LogEmergency(string Message, params KeyValuePair<string, object>[] Tags)
1048 {
1049 Log.Emergency(Message, this.ObjectID, Tags);
1050 }
1051
1062 public void LogEmergency(Exception Exception, string Actor, string EventId, EventLevel Level,
1063 string Facility, string Module, params KeyValuePair<string, object>[] Tags)
1064 {
1065 Log.Emergency(Exception, this.ObjectID, Actor, EventId, Level, Facility, Module, Tags);
1066 }
1067
1077 public void LogEmergency(Exception Exception, string Actor, string EventId, EventLevel Level,
1078 string Facility, params KeyValuePair<string, object>[] Tags)
1079 {
1080 Log.Emergency(Exception, this.ObjectID, Actor, EventId, Level, Facility, Tags);
1081 }
1082
1091 public void LogEmergency(Exception Exception, string Actor, string EventId, EventLevel Level,
1092 params KeyValuePair<string, object>[] Tags)
1093 {
1094 Log.Emergency(Exception, this.ObjectID, Actor, EventId, Level, Tags);
1095 }
1096
1104 public void LogEmergency(Exception Exception, string Actor, string EventId, params KeyValuePair<string, object>[] Tags)
1105 {
1106 Log.Emergency(Exception, this.ObjectID, Actor, EventId, Tags);
1107 }
1108
1115 public void LogEmergency(Exception Exception, string Actor, params KeyValuePair<string, object>[] Tags)
1116 {
1117 Log.Emergency(Exception, this.ObjectID, Actor, Tags);
1118 }
1119
1125 public void LogEmergency(Exception Exception, params KeyValuePair<string, object>[] Tags)
1126 {
1127 Log.Emergency(Exception, this.ObjectID, Tags);
1128 }
1129
1130 #endregion
1131
1135 [Obsolete("Use DisposeAsync() instead.")]
1136 public void Dispose()
1137 {
1138 this.DisposeAsync().Wait();
1139 }
1140
1144 public virtual Task DisposeAsync()
1145 {
1146 return Task.CompletedTask;
1147 }
1148 }
1149}
Static class managing the application event log. Applications and services log events on this static ...
Definition: Log.cs:14
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.
Definition: Log.cs:576
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.
Definition: Log.cs:1027
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.
Definition: Log.cs:692
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:1447
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:344
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:460
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.
Definition: Log.cs:228
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.
Definition: Log.cs:1237
Base class for objects that can log events.
Definition: LogObject.cs:11
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.
Definition: LogObject.cs:437
void LogError(string Message, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
Logs an error event.
Definition: LogObject.cs:453
void LogNotice(string Message, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs a notice event.
Definition: LogObject.cs:297
void LogEmergency(Exception Exception, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
Definition: LogObject.cs:1104
void LogEmergency(string Message, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
Definition: LogObject.cs:1013
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.
Definition: LogObject.cs:791
void LogCritical(Exception Exception, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
Definition: LogObject.cs:750
void LogInformational(string Message, string Actor, params KeyValuePair< string, object >[] Tags)
Logs an informational event.
Definition: LogObject.cs:209
void LogError(Exception Exception, string Actor, params KeyValuePair< string, object >[] Tags)
Logs an error event.
Definition: LogObject.cs:584
void Dispose()
IDisposable.Dispose()
Definition: LogObject.cs:1136
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.
Definition: LogObject.cs:239
void LogError(Exception Exception, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
Logs an error event.
Definition: LogObject.cs:531
void LogEmergency(string Message, string Actor, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
Definition: LogObject.cs:1037
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.
Definition: LogObject.cs:968
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.
Definition: LogObject.cs:140
void LogError(string Message, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs an error event.
Definition: LogObject.cs:468
void LogWarning(string Message, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs a warning event.
Definition: LogObject.cs:396
void LogAlert(string Message, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
Definition: LogObject.cs:870
LogObject(string ObjectID)
Base class for objects that can log events.
Definition: LogObject.cs:18
void LogCritical(string Message, string Actor, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
Definition: LogObject.cs:683
void LogError(Exception Exception, params KeyValuePair< string, object >[] Tags)
Logs an error event.
Definition: LogObject.cs:594
void LogEmergency(Exception Exception, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
Definition: LogObject.cs:1125
void LogCritical(Exception Exception, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
Definition: LogObject.cs:723
void LogWarning(string Message, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs a warning event.
Definition: LogObject.cs:369
void LogCritical(string Message, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
Definition: LogObject.cs:693
void LogNotice(string Message, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs a notice event.
Definition: LogObject.cs:284
void LogCritical(Exception Exception, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
Definition: LogObject.cs:737
void LogAlert(Exception Exception, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
Definition: LogObject.cs:885
void LogAlert(Exception Exception, string Actor, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
Definition: LogObject.cs:938
void LogDebug(string Message, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
Logs a debug event.
Definition: LogObject.cs:57
void LogAlert(string Message, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
Definition: LogObject.cs:822
void LogEmergency(string Message, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
Definition: LogObject.cs:1047
void LogError(Exception Exception, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs an error event.
Definition: LogObject.cs:560
void LogWarning(string Message, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
Logs a warning event.
Definition: LogObject.cs:354
void LogEmergency(string Message, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
Definition: LogObject.cs:1026
void LogInformational(string Message, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs an informational event.
Definition: LogObject.cs:171
void LogWarning(string Message, string Actor, params KeyValuePair< string, object >[] Tags)
Logs a warning event.
Definition: LogObject.cs:407
void LogEmergency(Exception Exception, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
Definition: LogObject.cs:1091
void LogInformational(string Message, params KeyValuePair< string, object >[] Tags)
Logs an informational event.
Definition: LogObject.cs:219
void LogNotice(string Message, params KeyValuePair< string, object >[] Tags)
Logs a notice event.
Definition: LogObject.cs:318
void LogError(string Message, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs an error event.
Definition: LogObject.cs:495
void LogInformational(string Message, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
Logs an informational event.
Definition: LogObject.cs:156
void LogDebug(string Message, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs a debug event.
Definition: LogObject.cs:86
void LogCritical(Exception Exception, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
Definition: LogObject.cs:771
void LogEmergency(Exception Exception, string Actor, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
Definition: LogObject.cs:1115
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.
Definition: LogObject.cs:41
void LogCritical(string Message, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
Definition: LogObject.cs:672
void LogAlert(Exception Exception, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
Definition: LogObject.cs:948
void LogError(string Message, params KeyValuePair< string, object >[] Tags)
Logs an error event.
Definition: LogObject.cs:516
void LogCritical(Exception Exception, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
Definition: LogObject.cs:708
void LogCritical(string Message, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
Definition: LogObject.cs:630
void LogInformational(string Message, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs an informational event.
Definition: LogObject.cs:198
void LogAlert(Exception Exception, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
Definition: LogObject.cs:914
void LogCritical(string Message, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
Definition: LogObject.cs:645
virtual string ObjectID
Object ID, used when logging events.
Definition: LogObject.cs:26
void LogWarning(string Message, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs a warning event.
Definition: LogObject.cs:383
void LogError(Exception Exception, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs an error event.
Definition: LogObject.cs:573
void LogDebug(string Message, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs a debug event.
Definition: LogObject.cs:99
void LogNotice(string Message, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs a notice event.
Definition: LogObject.cs:270
void LogDebug(string Message, params KeyValuePair< string, object >[] Tags)
Logs a debug event.
Definition: LogObject.cs:120
void LogCritical(Exception Exception, string Actor, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
Definition: LogObject.cs:761
void LogAlert(string Message, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
Definition: LogObject.cs:836
void LogWarning(string Message, params KeyValuePair< string, object >[] Tags)
Logs a warning event.
Definition: LogObject.cs:417
void LogEmergency(Exception Exception, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
Definition: LogObject.cs:1062
void LogDebug(string Message, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs a debug event.
Definition: LogObject.cs:72
void LogEmergency(Exception Exception, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
Definition: LogObject.cs:1077
virtual Task DisposeAsync()
IDisposableAsync.DisposeAsync()
Definition: LogObject.cs:1144
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.
Definition: LogObject.cs:614
void LogInformational(string Message, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs an informational event.
Definition: LogObject.cs:185
void LogError(Exception Exception, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs an error event.
Definition: LogObject.cs:546
void LogEmergency(string Message, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
Definition: LogObject.cs:984
void LogDebug(string Message, string Actor, params KeyValuePair< string, object >[] Tags)
Logs a debug event.
Definition: LogObject.cs:110
void LogAlert(string Message, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
Definition: LogObject.cs:849
void LogAlert(string Message, string Actor, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
Definition: LogObject.cs:860
void LogCritical(string Message, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
Definition: LogObject.cs:659
void LogError(string Message, string Actor, params KeyValuePair< string, object >[] Tags)
Logs an error event.
Definition: LogObject.cs:506
void LogNotice(string Message, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
Logs a notice event.
Definition: LogObject.cs:255
void LogError(string Message, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs an error event.
Definition: LogObject.cs:482
void LogAlert(Exception Exception, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
Definition: LogObject.cs:927
void LogAlert(Exception Exception, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
Definition: LogObject.cs:900
void LogAlert(string Message, string Actor, string EventId, EventLevel Level, string Facility, string Module, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
Definition: LogObject.cs:807
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.
Definition: LogObject.cs:338
void LogNotice(string Message, string Actor, params KeyValuePair< string, object >[] Tags)
Logs a notice event.
Definition: LogObject.cs:308
void LogEmergency(string Message, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
Definition: LogObject.cs:999
Interface for objects that can log events.
Definition: ILogObject.cs:10
EventLevel
Event level.
Definition: EventLevel.cs:7