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;
2using System.Collections.Generic;
3
4namespace Waher.Events
5{
9 public abstract class LogObject : ILogObject
10 {
11 private readonly string objectId;
12
17 public LogObject(string ObjectID)
18 {
19 this.objectId = ObjectID;
20 }
21
25 public virtual string ObjectID => this.objectId;
26
27 #region Debug
28
40 public void LogDebug(string Message, string Actor, string EventId, EventLevel Level,
41 string Facility, string Module, string StackTrace, params KeyValuePair<string, object>[] Tags)
42 {
43 Log.Debug(Message, this.ObjectID, Actor, EventId, Level, Facility, Module, StackTrace, Tags);
44 }
45
56 public void LogDebug(string Message, string Actor, string EventId, EventLevel Level,
57 string Facility, string Module, params KeyValuePair<string, object>[] Tags)
58 {
59 Log.Debug(Message, this.ObjectID, Actor, EventId, Level, Facility, Module, Tags);
60 }
61
71 public void LogDebug(string Message, string Actor, string EventId, EventLevel Level,
72 string Facility, params KeyValuePair<string, object>[] Tags)
73 {
74 Log.Debug(Message, this.ObjectID, Actor, EventId, Level, Facility, Tags);
75 }
76
85 public void LogDebug(string Message, string Actor, string EventId, EventLevel Level,
86 params KeyValuePair<string, object>[] Tags)
87 {
88 Log.Debug(Message, this.ObjectID, Actor, EventId, Level, Tags);
89 }
90
98 public void LogDebug(string Message, string Actor, string EventId, params KeyValuePair<string, object>[] Tags)
99 {
100 Log.Debug(Message, this.ObjectID, Actor, EventId, Tags);
101 }
102
109 public void LogDebug(string Message, string Actor, params KeyValuePair<string, object>[] Tags)
110 {
111 Log.Debug(Message, this.ObjectID, Actor, Tags);
112 }
113
119 public void LogDebug(string Message, params KeyValuePair<string, object>[] Tags)
120 {
121 Log.Debug(Message, this.ObjectID, Tags);
122 }
123
124 #endregion
125
126 #region Informational
127
139 public void LogInformational(string Message, string Actor, string EventId, EventLevel Level,
140 string Facility, string Module, string StackTrace, params KeyValuePair<string, object>[] Tags)
141 {
142 Log.Informational(Message, this.ObjectID, Actor, EventId, Level, Facility, Module, StackTrace, Tags);
143 }
144
155 public void LogInformational(string Message, string Actor, string EventId, EventLevel Level,
156 string Facility, string Module, params KeyValuePair<string, object>[] Tags)
157 {
158 Log.Informational(Message, this.ObjectID, Actor, EventId, Level, Facility, Module, Tags);
159 }
160
170 public void LogInformational(string Message, string Actor, string EventId, EventLevel Level,
171 string Facility, params KeyValuePair<string, object>[] Tags)
172 {
173 Log.Informational(Message, this.ObjectID, Actor, EventId, Level, Facility, Tags);
174 }
175
184 public void LogInformational(string Message, string Actor, string EventId, EventLevel Level,
185 params KeyValuePair<string, object>[] Tags)
186 {
187 Log.Informational(Message, this.ObjectID, Actor, EventId, Level, Tags);
188 }
189
197 public void LogInformational(string Message, string Actor, string EventId, params KeyValuePair<string, object>[] Tags)
198 {
199 Log.Informational(Message, this.ObjectID, Actor, EventId, Tags);
200 }
201
208 public void LogInformational(string Message, string Actor, params KeyValuePair<string, object>[] Tags)
209 {
210 Log.Informational(Message, this.ObjectID, Actor, Tags);
211 }
212
218 public void LogInformational(string Message, params KeyValuePair<string, object>[] Tags)
219 {
220 Log.Informational(Message, this.ObjectID, Tags);
221 }
222
223 #endregion
224
225 #region Notice
226
238 public void LogNotice(string Message, string Actor, string EventId, EventLevel Level,
239 string Facility, string Module, string StackTrace, params KeyValuePair<string, object>[] Tags)
240 {
241 Log.Notice(Message, this.ObjectID, Actor, EventId, Level, Facility, Module, StackTrace, Tags);
242 }
243
254 public void LogNotice(string Message, string Actor, string EventId, EventLevel Level,
255 string Facility, string Module, params KeyValuePair<string, object>[] Tags)
256 {
257 Log.Notice(Message, this.ObjectID, Actor, EventId, Level, Facility, Module, Tags);
258 }
259
269 public void LogNotice(string Message, string Actor, string EventId, EventLevel Level,
270 string Facility, params KeyValuePair<string, object>[] Tags)
271 {
272 Log.Notice(Message, this.ObjectID, Actor, EventId, Level, Facility, Tags);
273 }
274
283 public void LogNotice(string Message, string Actor, string EventId, EventLevel Level,
284 params KeyValuePair<string, object>[] Tags)
285 {
286 Log.Notice(Message, this.ObjectID, Actor, EventId, Level, Tags);
287 }
288
296 public void LogNotice(string Message, string Actor, string EventId, params KeyValuePair<string, object>[] Tags)
297 {
298 Log.Notice(Message, this.ObjectID, Actor, EventId, Tags);
299 }
300
307 public void LogNotice(string Message, string Actor, params KeyValuePair<string, object>[] Tags)
308 {
309 Log.Notice(Message, this.ObjectID, Actor, Tags);
310 }
311
317 public void LogNotice(string Message, params KeyValuePair<string, object>[] Tags)
318 {
319 Log.Notice(Message, this.ObjectID);
320 }
321
322 #endregion
323
324 #region Warning
325
337 public void LogWarning(string Message, string Actor, string EventId, EventLevel Level,
338 string Facility, string Module, string StackTrace, params KeyValuePair<string, object>[] Tags)
339 {
340 Log.Warning(Message, this.ObjectID, Actor, EventId, Level, Facility, Module, StackTrace, Tags);
341 }
342
353 public void LogWarning(string Message, string Actor, string EventId, EventLevel Level,
354 string Facility, string Module, params KeyValuePair<string, object>[] Tags)
355 {
356 Log.Warning(Message, this.ObjectID, Actor, EventId, Level, Facility, Module, Tags);
357 }
358
368 public void LogWarning(string Message, string Actor, string EventId, EventLevel Level,
369 string Facility, params KeyValuePair<string, object>[] Tags)
370 {
371 Log.Warning(Message, this.ObjectID, Actor, EventId, Level, Facility, Tags);
372 }
373
382 public void LogWarning(string Message, string Actor, string EventId, EventLevel Level,
383 params KeyValuePair<string, object>[] Tags)
384 {
385 Log.Warning(Message, this.ObjectID, Actor, EventId, Level, Tags);
386 }
387
395 public void LogWarning(string Message, string Actor, string EventId, params KeyValuePair<string, object>[] Tags)
396 {
397 Log.Warning(Message, this.ObjectID, Actor, EventId, Tags);
398 }
399
406 public void LogWarning(string Message, string Actor, params KeyValuePair<string, object>[] Tags)
407 {
408 Log.Warning(Message, this.ObjectID, Actor, Tags);
409 }
410
416 public void LogWarning(string Message, params KeyValuePair<string, object>[] Tags)
417 {
418 Log.Warning(Message, this.ObjectID, Tags);
419 }
420
421 #endregion
422
423 #region Error
424
436 public void LogError(string Message, string Actor, string EventId, EventLevel Level,
437 string Facility, string Module, string StackTrace, params KeyValuePair<string, object>[] Tags)
438 {
439 Log.Error(Message, this.ObjectID, Actor, EventId, Level, Facility, Module, StackTrace, Tags);
440 }
441
452 public void LogError(string Message, string Actor, string EventId, EventLevel Level,
453 string Facility, string Module, params KeyValuePair<string, object>[] Tags)
454 {
455 Log.Error(Message, this.ObjectID, Actor, EventId, Level, Facility, Module, Tags);
456 }
457
467 public void LogError(string Message, string Actor, string EventId, EventLevel Level,
468 string Facility, params KeyValuePair<string, object>[] Tags)
469 {
470 Log.Error(Message, this.ObjectID, Actor, EventId, Level, Facility, Tags);
471 }
472
481 public void LogError(string Message, string Actor, string EventId, EventLevel Level,
482 params KeyValuePair<string, object>[] Tags)
483 {
484 Log.Error(Message, this.ObjectID, Actor, EventId, Level, Tags);
485 }
486
494 public void LogError(string Message, string Actor, string EventId, params KeyValuePair<string, object>[] Tags)
495 {
496 Log.Error(Message, this.ObjectID, Actor, EventId, Tags);
497 }
498
505 public void LogError(string Message, string Actor, params KeyValuePair<string, object>[] Tags)
506 {
507 Log.Error(Message, this.ObjectID, Actor, Tags);
508 }
509
515 public void LogError(string Message, params KeyValuePair<string, object>[] Tags)
516 {
517 Log.Error(Message, this.ObjectID, Tags);
518 }
519
530 public void LogError(Exception Exception, string Actor, string EventId, EventLevel Level,
531 string Facility, string Module, params KeyValuePair<string, object>[] Tags)
532 {
533 Log.Error(Exception, this.ObjectID, Actor, EventId, Level, Facility, Module, Tags);
534 }
535
545 public void LogError(Exception Exception, string Actor, string EventId, EventLevel Level,
546 string Facility, params KeyValuePair<string, object>[] Tags)
547 {
548 Log.Error(Exception, this.ObjectID, Actor, EventId, Level, Facility, Tags);
549 }
550
559 public void LogError(Exception Exception, string Actor, string EventId, EventLevel Level,
560 params KeyValuePair<string, object>[] Tags)
561 {
562 Log.Error(Exception, this.ObjectID, Actor, EventId, Level, Tags);
563 }
564
572 public void LogError(Exception Exception, string Actor, string EventId, params KeyValuePair<string, object>[] Tags)
573 {
574 Log.Error(Exception, this.ObjectID, Actor, EventId, Tags);
575 }
576
583 public void LogError(Exception Exception, string Actor, params KeyValuePair<string, object>[] Tags)
584 {
585 Log.Error(Exception, this.ObjectID, Actor, Tags);
586 }
587
593 public void LogError(Exception Exception, params KeyValuePair<string, object>[] Tags)
594 {
595 Log.Error(Exception, this.ObjectID, Tags);
596 }
597
598 #endregion
599
600 #region Critical
601
613 public void LogCritical(string Message, string Actor, string EventId, EventLevel Level,
614 string Facility, string Module, string StackTrace, params KeyValuePair<string, object>[] Tags)
615 {
616 Log.Critical(Message, this.ObjectID, Actor, EventId, Level, Facility, Module, StackTrace, Tags);
617 }
618
629 public void LogCritical(string Message, string Actor, string EventId, EventLevel Level,
630 string Facility, string Module, params KeyValuePair<string, object>[] Tags)
631 {
632 Log.Critical(Message, this.ObjectID, Actor, EventId, Level, Facility, Module, Tags);
633 }
634
644 public void LogCritical(string Message, string Actor, string EventId, EventLevel Level,
645 string Facility, params KeyValuePair<string, object>[] Tags)
646 {
647 Log.Critical(Message, this.ObjectID, Actor, EventId, Level, Facility, Tags);
648 }
649
658 public void LogCritical(string Message, string Actor, string EventId, EventLevel Level,
659 params KeyValuePair<string, object>[] Tags)
660 {
661 Log.Critical(Message, this.ObjectID, Actor, EventId, Level, Tags);
662 }
663
671 public void LogCritical(string Message, string Actor, string EventId, params KeyValuePair<string, object>[] Tags)
672 {
673 Log.Critical(Message, this.ObjectID, Actor, EventId, Tags);
674 }
675
682 public void LogCritical(string Message, string Actor, params KeyValuePair<string, object>[] Tags)
683 {
684 Log.Critical(Message, this.ObjectID, Actor, Tags);
685 }
686
692 public void LogCritical(string Message, params KeyValuePair<string, object>[] Tags)
693 {
694 Log.Critical(Message, this.ObjectID, Tags);
695 }
696
707 public void LogCritical(Exception Exception, string Actor, string EventId, EventLevel Level,
708 string Facility, string Module, params KeyValuePair<string, object>[] Tags)
709 {
710 Log.Critical(Exception, this.ObjectID, Actor, EventId, Level, Facility, Module, Tags);
711 }
712
722 public void LogCritical(Exception Exception, string Actor, string EventId, EventLevel Level,
723 string Facility, params KeyValuePair<string, object>[] Tags)
724 {
725 Log.Critical(Exception, this.ObjectID, Actor, EventId, Level, Facility, Tags);
726 }
727
736 public void LogCritical(Exception Exception, string Actor, string EventId, EventLevel Level,
737 params KeyValuePair<string, object>[] Tags)
738 {
739 Log.Critical(Exception, this.ObjectID, Actor, EventId, Level, Tags);
740 }
741
749 public void LogCritical(Exception Exception, string Actor, string EventId, params KeyValuePair<string, object>[] Tags)
750 {
751 Log.Critical(Exception, this.ObjectID, Actor, EventId, Tags);
752 }
753
760 public void LogCritical(Exception Exception, string Actor, params KeyValuePair<string, object>[] Tags)
761 {
762 Log.Critical(Exception, this.ObjectID, Actor, Tags);
763 }
764
770 public void LogCritical(Exception Exception, params KeyValuePair<string, object>[] Tags)
771 {
772 Log.Critical(Exception, this.ObjectID, Tags);
773 }
774
775 #endregion
776
777 #region Alert
778
790 public void LogAlert(string Message, string Actor, string EventId, EventLevel Level,
791 string Facility, string Module, string StackTrace, params KeyValuePair<string, object>[] Tags)
792 {
793 Log.Alert(Message, this.ObjectID, Actor, EventId, Level, Facility, Module, StackTrace, Tags);
794 }
795
806 public void LogAlert(string Message, string Actor, string EventId, EventLevel Level,
807 string Facility, string Module, params KeyValuePair<string, object>[] Tags)
808 {
809 Log.Alert(Message, this.ObjectID, Actor, EventId, Level, Facility, Module, Tags);
810 }
811
821 public void LogAlert(string Message, string Actor, string EventId, EventLevel Level,
822 string Facility, params KeyValuePair<string, object>[] Tags)
823 {
824 Log.Alert(Message, this.ObjectID, Actor, EventId, Level, Facility, Tags);
825 }
826
835 public void LogAlert(string Message, string Actor, string EventId, EventLevel Level,
836 params KeyValuePair<string, object>[] Tags)
837 {
838 Log.Alert(Message, this.ObjectID, Actor, EventId, Level, Tags);
839 }
840
848 public void LogAlert(string Message, string Actor, string EventId, params KeyValuePair<string, object>[] Tags)
849 {
850 Log.Alert(Message, this.ObjectID, Actor, EventId, Tags);
851 }
852
859 public void LogAlert(string Message, string Actor, params KeyValuePair<string, object>[] Tags)
860 {
861 Log.Alert(Message, this.ObjectID, Actor, Tags);
862 }
863
869 public void LogAlert(string Message, params KeyValuePair<string, object>[] Tags)
870 {
871 Log.Alert(Message, this.ObjectID, Tags);
872 }
873
884 public void LogAlert(Exception Exception, string Actor, string EventId, EventLevel Level,
885 string Facility, string Module, params KeyValuePair<string, object>[] Tags)
886 {
887 Log.Alert(Exception, this.ObjectID, Actor, EventId, Level, Facility, Module, Tags);
888 }
889
899 public void LogAlert(Exception Exception, string Actor, string EventId, EventLevel Level,
900 string Facility, params KeyValuePair<string, object>[] Tags)
901 {
902 Log.Alert(Exception, this.ObjectID, Actor, EventId, Level, Facility, Tags);
903 }
904
913 public void LogAlert(Exception Exception, string Actor, string EventId, EventLevel Level,
914 params KeyValuePair<string, object>[] Tags)
915 {
916 Log.Alert(Exception, this.ObjectID, Actor, EventId, Level, Tags);
917 }
918
926 public void LogAlert(Exception Exception, string Actor, string EventId, params KeyValuePair<string, object>[] Tags)
927 {
928 Log.Alert(Exception, this.ObjectID, Actor, EventId, Tags);
929 }
930
937 public void LogAlert(Exception Exception, string Actor, params KeyValuePair<string, object>[] Tags)
938 {
939 Log.Alert(Exception, this.ObjectID, Actor, Tags);
940 }
941
947 public void LogAlert(Exception Exception, params KeyValuePair<string, object>[] Tags)
948 {
949 Log.Alert(Exception, this.ObjectID, Tags);
950 }
951
952 #endregion
953
954 #region Emergency
955
967 public void LogEmergency(string Message, string Actor, string EventId, EventLevel Level,
968 string Facility, string Module, string StackTrace, params KeyValuePair<string, object>[] Tags)
969 {
970 Log.Emergency(Message, this.ObjectID, Actor, EventId, Level, Facility, Module, StackTrace, Tags);
971 }
972
983 public void LogEmergency(string Message, string Actor, string EventId, EventLevel Level,
984 string Facility, string Module, params KeyValuePair<string, object>[] Tags)
985 {
986 Log.Emergency(Message, this.ObjectID, Actor, EventId, Level, Facility, Module, Tags);
987 }
988
998 public void LogEmergency(string Message, string Actor, string EventId, EventLevel Level,
999 string Facility, params KeyValuePair<string, object>[] Tags)
1000 {
1001 Log.Emergency(Message, this.ObjectID, Actor, EventId, Level, Facility, Tags);
1002 }
1003
1012 public void LogEmergency(string Message, string Actor, string EventId, EventLevel Level,
1013 params KeyValuePair<string, object>[] Tags)
1014 {
1015 Log.Emergency(Message, this.ObjectID, Actor, EventId, Level, Tags);
1016 }
1017
1025 public void LogEmergency(string Message, string Actor, string EventId, params KeyValuePair<string, object>[] Tags)
1026 {
1027 Log.Emergency(Message, this.ObjectID, Actor, EventId, Tags);
1028 }
1029
1036 public void LogEmergency(string Message, string Actor, params KeyValuePair<string, object>[] Tags)
1037 {
1038 Log.Emergency(Message, this.ObjectID, Actor, Tags);
1039 }
1040
1046 public void LogEmergency(string Message, params KeyValuePair<string, object>[] Tags)
1047 {
1048 Log.Emergency(Message, this.ObjectID, Tags);
1049 }
1050
1061 public void LogEmergency(Exception Exception, string Actor, string EventId, EventLevel Level,
1062 string Facility, string Module, params KeyValuePair<string, object>[] Tags)
1063 {
1064 Log.Emergency(Exception, this.ObjectID, Actor, EventId, Level, Facility, Module, Tags);
1065 }
1066
1076 public void LogEmergency(Exception Exception, string Actor, string EventId, EventLevel Level,
1077 string Facility, params KeyValuePair<string, object>[] Tags)
1078 {
1079 Log.Emergency(Exception, this.ObjectID, Actor, EventId, Level, Facility, Tags);
1080 }
1081
1090 public void LogEmergency(Exception Exception, string Actor, string EventId, EventLevel Level,
1091 params KeyValuePair<string, object>[] Tags)
1092 {
1093 Log.Emergency(Exception, this.ObjectID, Actor, EventId, Level, Tags);
1094 }
1095
1103 public void LogEmergency(Exception Exception, string Actor, string EventId, params KeyValuePair<string, object>[] Tags)
1104 {
1105 Log.Emergency(Exception, this.ObjectID, Actor, EventId, Tags);
1106 }
1107
1114 public void LogEmergency(Exception Exception, string Actor, params KeyValuePair<string, object>[] Tags)
1115 {
1116 Log.Emergency(Exception, this.ObjectID, Actor, Tags);
1117 }
1118
1124 public void LogEmergency(Exception Exception, params KeyValuePair<string, object>[] Tags)
1125 {
1126 Log.Emergency(Exception, this.ObjectID, Tags);
1127 }
1128
1129 #endregion
1130
1134 public virtual void Dispose()
1135 {
1136 }
1137 }
1138}
Static class managing the application event log. Applications and services log events on this static ...
Definition: Log.cs:13
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:566
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:1017
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:682
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
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
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
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:218
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:1227
Base class for objects that can log events.
Definition: LogObject.cs:10
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:436
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:452
void LogNotice(string Message, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs a notice event.
Definition: LogObject.cs:296
void LogEmergency(Exception Exception, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
Definition: LogObject.cs:1103
void LogEmergency(string Message, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
Definition: LogObject.cs:1012
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:790
void LogCritical(Exception Exception, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
Definition: LogObject.cs:749
void LogInformational(string Message, string Actor, params KeyValuePair< string, object >[] Tags)
Logs an informational event.
Definition: LogObject.cs:208
void LogError(Exception Exception, string Actor, params KeyValuePair< string, object >[] Tags)
Logs an error event.
Definition: LogObject.cs:583
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:238
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:530
void LogEmergency(string Message, string Actor, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
Definition: LogObject.cs:1036
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:967
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:139
void LogError(string Message, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs an error event.
Definition: LogObject.cs:467
void LogWarning(string Message, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs a warning event.
Definition: LogObject.cs:395
void LogAlert(string Message, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
Definition: LogObject.cs:869
LogObject(string ObjectID)
Base class for objects that can log events.
Definition: LogObject.cs:17
void LogCritical(string Message, string Actor, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
Definition: LogObject.cs:682
void LogError(Exception Exception, params KeyValuePair< string, object >[] Tags)
Logs an error event.
Definition: LogObject.cs:593
void LogEmergency(Exception Exception, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
Definition: LogObject.cs:1124
void LogCritical(Exception Exception, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
Definition: LogObject.cs:722
void LogWarning(string Message, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs a warning event.
Definition: LogObject.cs:368
void LogCritical(string Message, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
Definition: LogObject.cs:692
void LogNotice(string Message, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs a notice event.
Definition: LogObject.cs:283
void LogCritical(Exception Exception, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
Definition: LogObject.cs:736
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:884
void LogAlert(Exception Exception, string Actor, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
Definition: LogObject.cs:937
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:56
void LogAlert(string Message, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
Definition: LogObject.cs:821
void LogEmergency(string Message, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
Definition: LogObject.cs:1046
void LogError(Exception Exception, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs an error event.
Definition: LogObject.cs:559
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:353
void LogEmergency(string Message, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
Definition: LogObject.cs:1025
void LogInformational(string Message, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs an informational event.
Definition: LogObject.cs:170
void LogWarning(string Message, string Actor, params KeyValuePair< string, object >[] Tags)
Logs a warning event.
Definition: LogObject.cs:406
void LogEmergency(Exception Exception, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
Definition: LogObject.cs:1090
void LogInformational(string Message, params KeyValuePair< string, object >[] Tags)
Logs an informational event.
Definition: LogObject.cs:218
void LogNotice(string Message, params KeyValuePair< string, object >[] Tags)
Logs a notice event.
Definition: LogObject.cs:317
void LogError(string Message, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs an error event.
Definition: LogObject.cs:494
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:155
void LogDebug(string Message, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs a debug event.
Definition: LogObject.cs:85
void LogCritical(Exception Exception, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
Definition: LogObject.cs:770
void LogEmergency(Exception Exception, string Actor, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
Definition: LogObject.cs:1114
virtual void Dispose()
IDisposable.Dispose()
Definition: LogObject.cs:1134
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:40
void LogCritical(string Message, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
Definition: LogObject.cs:671
void LogAlert(Exception Exception, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
Definition: LogObject.cs:947
void LogError(string Message, params KeyValuePair< string, object >[] Tags)
Logs an error event.
Definition: LogObject.cs:515
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:707
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:629
void LogInformational(string Message, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs an informational event.
Definition: LogObject.cs:197
void LogAlert(Exception Exception, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
Definition: LogObject.cs:913
void LogCritical(string Message, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
Definition: LogObject.cs:644
virtual string ObjectID
Object ID, used when logging events.
Definition: LogObject.cs:25
void LogWarning(string Message, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs a warning event.
Definition: LogObject.cs:382
void LogError(Exception Exception, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs an error event.
Definition: LogObject.cs:572
void LogDebug(string Message, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs a debug event.
Definition: LogObject.cs:98
void LogNotice(string Message, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs a notice event.
Definition: LogObject.cs:269
void LogDebug(string Message, params KeyValuePair< string, object >[] Tags)
Logs a debug event.
Definition: LogObject.cs:119
void LogCritical(Exception Exception, string Actor, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
Definition: LogObject.cs:760
void LogAlert(string Message, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
Definition: LogObject.cs:835
void LogWarning(string Message, params KeyValuePair< string, object >[] Tags)
Logs a warning event.
Definition: LogObject.cs:416
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:1061
void LogDebug(string Message, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs a debug event.
Definition: LogObject.cs:71
void LogEmergency(Exception Exception, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
Definition: LogObject.cs:1076
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:613
void LogInformational(string Message, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs an informational event.
Definition: LogObject.cs:184
void LogError(Exception Exception, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs an error event.
Definition: LogObject.cs:545
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:983
void LogDebug(string Message, string Actor, params KeyValuePair< string, object >[] Tags)
Logs a debug event.
Definition: LogObject.cs:109
void LogAlert(string Message, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
Definition: LogObject.cs:848
void LogAlert(string Message, string Actor, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
Definition: LogObject.cs:859
void LogCritical(string Message, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs a critical event.
Definition: LogObject.cs:658
void LogError(string Message, string Actor, params KeyValuePair< string, object >[] Tags)
Logs an error event.
Definition: LogObject.cs:505
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:254
void LogError(string Message, string Actor, string EventId, EventLevel Level, params KeyValuePair< string, object >[] Tags)
Logs an error event.
Definition: LogObject.cs:481
void LogAlert(Exception Exception, string Actor, string EventId, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
Definition: LogObject.cs:926
void LogAlert(Exception Exception, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs an alert event.
Definition: LogObject.cs:899
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:806
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:337
void LogNotice(string Message, string Actor, params KeyValuePair< string, object >[] Tags)
Logs a notice event.
Definition: LogObject.cs:307
void LogEmergency(string Message, string Actor, string EventId, EventLevel Level, string Facility, params KeyValuePair< string, object >[] Tags)
Logs an emergency event.
Definition: LogObject.cs:998
Interface for objects that can log events.
Definition: ILogObject.cs:10
EventLevel
Event level.
Definition: EventLevel.cs:7