Home
last modified time | relevance | path

Searched refs:EventLogEntryType (Results 1 – 25 of 55) sorted by relevance

123

/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.Diagnostics/
H A DEventInstanceTest.cs125 EventLogEntryType.Warning); in Constructor2()
135 new EventInstance (-1, 10, EventLogEntryType.Error); in Constructor2_InstanceId_Invalid()
145 EventLogEntryType.Error); in Constructor2_InstanceId_Invalid()
158 new EventInstance (5, -1, EventLogEntryType.Error); in Constructor2_CategoryId_Invalid()
180 new EventInstance (5, 5, (EventLogEntryType) 666); in Constructor2_EntryType_Invalid()
271 ei.EntryType = EventLogEntryType.Warning; in EntryType()
273 ei.EntryType = EventLogEntryType.FailureAudit; in EntryType()
275 ei.EntryType = EventLogEntryType.SuccessAudit; in EntryType()
277 ei.EntryType = EventLogEntryType.Information; in EntryType()
289 ei.EntryType = (EventLogEntryType) 666; in EntryType_Invalid()
[all …]
H A DEventLogTest.cs3887 EventLogEntryType.Error); in WriteEntry2_Log_Mismatch()
3906 (EventLogEntryType) 666); in WriteEntry2_Log_Mismatch()
6919 EventLogEntryType.Error); in WriteEvent1_Source_DoesNotExist()
6968 EventLogEntryType.Warning); in WriteEvent1_Values_Null()
7090 EventLogEntryType.Warning); in WriteEvent2_Data_Null()
7170 EventLogEntryType.Error); in WriteEvent2_Source_DoesNotExist()
7358 EventLogEntryType.Error); in WriteEvent3_Source_DoesNotExist()
7414 EventLogEntryType.Warning); in WriteEvent3_Values_Null()
7537 EventLogEntryType.Warning); in WriteEvent4_Data_Null()
7606 EventLogEntryType.Error); in WriteEvent4_Source_DoesNotExist()
[all …]
/dports/devel/log4net/log4net-1.2.10/tests/src/Appender/
H A DEventLogAppenderTest.cs44 System.Diagnostics.EventLogEntryType.Information, in TestGetEntryType()
48 System.Diagnostics.EventLogEntryType.Information, in TestGetEntryType()
52 System.Diagnostics.EventLogEntryType.Information, in TestGetEntryType()
56 System.Diagnostics.EventLogEntryType.Warning, in TestGetEntryType()
60 System.Diagnostics.EventLogEntryType.Error, in TestGetEntryType()
64 System.Diagnostics.EventLogEntryType.Error, in TestGetEntryType()
68 System.Diagnostics.EventLogEntryType.Error, in TestGetEntryType()
77 …private static System.Diagnostics.EventLogEntryType GetEntryType(EventLogAppender appender, Level … in GetEntryType()
79 return (System.Diagnostics.EventLogEntryType)Utils.InvokeMethod(appender, "GetEntryType", level); in GetEntryType()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/System.Diagnostics/
H A DEventInstance.cs37 EventLogEntryType _entryType;
41 : this (instanceId, categoryId, EventLogEntryType.Information) in EventInstance()
45 public EventInstance (long instanceId, int categoryId, EventLogEntryType entryType) in EventInstance()
62 public EventLogEntryType EntryType
66 if (!Enum.IsDefined (typeof (EventLogEntryType), value))
68 typeof(EventLogEntryType));
H A DEventLog.cs405 WriteEntry (message, EventLogEntryType.Information); in WriteEntry()
408 public void WriteEntry (string message, EventLogEntryType type) in WriteEntry()
413 public void WriteEntry (string message, EventLogEntryType type, in WriteEntry()
419 public void WriteEntry (string message, EventLogEntryType type, in WriteEntry()
436 WriteEntry (source, message, EventLogEntryType.Information); in WriteEntry()
440 EventLogEntryType type) in WriteEntry()
446 EventLogEntryType type, int eventID) in WriteEntry()
452 EventLogEntryType type, int eventID, short category) in WriteEntry()
458 EventLogEntryType type, int eventID, short category, in WriteEntry()
588 if (!Enum.IsDefined (typeof (EventLogEntryType), type)) in WriteEntry()
[all …]
H A DEventLogTraceListener.cs101 EventLogEntryType type; in TraceData()
105 type = EventLogEntryType.Error; in TraceData()
108 type = EventLogEntryType.Warning; in TraceData()
111 type = EventLogEntryType.Information; in TraceData()
H A DEventLogEntry.cs50 private EventLogEntryType entryType;
64 string machineName, EventLogEntryType entryType, in EventLogEntry()
105 public EventLogEntryType EntryType {
H A DLocalFileEventLog.cs220 EventLogEntryType type = (EventLogEntryType) in GetEntry()
221 Enum.Parse (typeof (EventLogEntryType), tr.ReadLine ().Substring (11)); in GetEntry()
292 …public override void WriteEntry (string [] replacementStrings, EventLogEntryType type, uint instan… in WriteEntry()
H A DEventLogEntryType.cs35 public enum EventLogEntryType { enum
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/services/monitoring/system/diagnosticts/
H A DEventData.cs9 private EventLogEntryType _entryType = EventLogEntryType.Information;
17 …public EventInstance(long instanceId, int categoryId, EventLogEntryType entryType) : this (instan… in EventInstance()
31 public EventLogEntryType EntryType {
35 if (!Enum.IsDefined(typeof(EventLogEntryType), value))
36 … throw new InvalidEnumArgumentException("value", (int)value, typeof(EventLogEntryType));
H A DEventLogTraceListener.cs220 data.EntryType = EventLogEntryType.Error; in CreateEventInstance()
222 data.EntryType = EventLogEntryType.Warning; in CreateEventInstance()
224 data.EntryType = EventLogEntryType.Information; in CreateEventInstance()
H A DEventLog.cs1341 WriteEntry(message, EventLogEntryType.Information, (short) 0, 0, null); in WriteEntry()
1347 WriteEntry(source, message, EventLogEntryType.Information, (short) 0, 0, null); in WriteEntry()
1357 public void WriteEntry(string message, EventLogEntryType type) { in WriteEntry()
1364 public static void WriteEntry(string source, string message, EventLogEntryType type) { in WriteEntry()
1377 public void WriteEntry(string message, EventLogEntryType type, int eventID) { in WriteEntry()
1384 …public static void WriteEntry(string source, string message, EventLogEntryType type, int eventID) { in WriteEntry()
1396 … public void WriteEntry(string message, EventLogEntryType type, int eventID, short category) { in WriteEntry()
1403 …public static void WriteEntry(string source, string message, EventLogEntryType type, int eventID, … in WriteEntry()
1410 …public static void WriteEntry(string source, string message, EventLogEntryType type, int eventID, … in WriteEntry()
1425 public void WriteEntry(string message, EventLogEntryType type, int eventID, short category, in WriteEntry()
H A DEventLogEntryType.cs20 public enum EventLogEntryType { enum
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Diagnostics.EventLog/src/System/Diagnostics/
H A DEventData.cs12 private EventLogEntryType _entryType = EventLogEntryType.Information;
21 …public EventInstance(long instanceId, int categoryId, EventLogEntryType entryType) : this(instance… in EventInstance()
38 public EventLogEntryType EntryType
43 if (!Enum.IsDefined(typeof(EventLogEntryType), value))
44 … throw new InvalidEnumArgumentException(nameof(EntryType), (int)value, typeof(EventLogEntryType));
H A DEventLog.cs967 WriteEntry(message, EventLogEntryType.Information, (short)0, 0, null); in WriteEntry()
972 WriteEntry(source, message, EventLogEntryType.Information, (short)0, 0, null); in WriteEntry()
975 public void WriteEntry(string message, EventLogEntryType type) in WriteEntry()
980 public static void WriteEntry(string source, string message, EventLogEntryType type) in WriteEntry()
985 public void WriteEntry(string message, EventLogEntryType type, int eventID) in WriteEntry()
990 … public static void WriteEntry(string source, string message, EventLogEntryType type, int eventID) in WriteEntry()
995 public void WriteEntry(string message, EventLogEntryType type, int eventID, short category) in WriteEntry()
1000 …public static void WriteEntry(string source, string message, EventLogEntryType type, int eventID, … in WriteEntry()
1005 …public static void WriteEntry(string source, string message, EventLogEntryType type, int eventID, … in WriteEntry()
1013 …public void WriteEntry(string message, EventLogEntryType type, int eventID, short category, byte[]… in WriteEntry()
H A DEventLogEntryType.cs7 public enum EventLogEntryType enum
/dports/net/ntpa/ntpa-0.8.2/Ntp.Common/Log/
H A DEventLog.cs93 WriteEventLogEntry(exception.ToString(), EventLogEntryType.Error, 1); in WriteLine()
112 private static EventLogEntryType GetEventLogEntryType(Severity severity) in GetEventLogEntryType()
120 return EventLogEntryType.Information; in GetEventLogEntryType()
122 return EventLogEntryType.Warning; in GetEventLogEntryType()
124 return EventLogEntryType.Error; in GetEventLogEntryType()
126 return EventLogEntryType.Error; in GetEventLogEntryType()
130 private void WriteEventLogEntry(string text, EventLogEntryType type, int code) in WriteEventLogEntry()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Diagnostics.EventLog/ref/
H A DSystem.Diagnostics.EventLog.cs17 …public EventInstance(long instanceId, int categoryId, System.Diagnostics.EventLogEntryType entryTy… in EventInstance()
19 public System.Diagnostics.EventLogEntryType EntryType { get { throw null; } set { } }
83 public void WriteEntry(string message, System.Diagnostics.EventLogEntryType type) { } in WriteEntry()
84 … public void WriteEntry(string message, System.Diagnostics.EventLogEntryType type, int eventID) { } in WriteEntry()
85 …public void WriteEntry(string message, System.Diagnostics.EventLogEntryType type, int eventID, sho… in WriteEntry()
86 …public void WriteEntry(string message, System.Diagnostics.EventLogEntryType type, int eventID, sho… in WriteEntry()
88 …tatic void WriteEntry(string source, string message, System.Diagnostics.EventLogEntryType type) { } in WriteEntry()
89 …c void WriteEntry(string source, string message, System.Diagnostics.EventLogEntryType type, int ev… in WriteEntry()
90 …c void WriteEntry(string source, string message, System.Diagnostics.EventLogEntryType type, int ev… in WriteEntry()
105 public System.Diagnostics.EventLogEntryType EntryType { get { throw null; } }
[all …]
/dports/devel/log4net/log4net-1.2.10/src/Appender/
H A DEventLogAppender.cs374 EventLogEntryType entryType = GetEntryType(loggingEvent.Level); in Append()
416 virtual protected EventLogEntryType GetEntryType(Level level) in GetEntryType()
422 return entryType.EventLogEntryType; in GetEntryType()
429 return EventLogEntryType.Error; in GetEntryType()
433 return EventLogEntryType.Warning; in GetEntryType()
437 return EventLogEntryType.Information; in GetEntryType()
487 private EventLogEntryType m_entryType;
498 public EventLogEntryType EventLogEntryType property in log4net.Appender.EventLogAppender.Level2EventLogEntryType
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Diagnostics.EventLog/tests/EventLogTests/
H A DEventLogWriteEntryTests.cs28 …Helpers.RetryOnWin7(() => eventLog.WriteEntry(message, EventLogEntryType.Warning, (int)eventInstan… in WriteLogEntry()
33 …Helpers.RetryOnWin7(() => eventLog.WriteEntry(message, EventLogEntryType.Warning, (int)eventInstan… in WriteLogEntry()
38 …Helpers.RetryOnWin7(() => eventLog.WriteEntry(message, EventLogEntryType.Warning, (int)eventInstan… in WriteLogEntry()
44 … Helpers.RetryOnWin7(() => eventLog.WriteEntry(message, EventLogEntryType.Warning)); in WriteLogEntry()
65 …Helpers.RetryOnWin7(() => EventLog.WriteEntry(source, message, EventLogEntryType.Warning, (int)eve… in WriteLogEntryWithSource()
70 …Helpers.RetryOnWin7(() => EventLog.WriteEntry(source, message, EventLogEntryType.Warning, (int)eve… in WriteLogEntryWithSource()
75 …Helpers.RetryOnWin7(() => EventLog.WriteEntry(source, message, EventLogEntryType.Warning, (int)eve… in WriteLogEntryWithSource()
81 … Helpers.RetryOnWin7(() => EventLog.WriteEntry(source, message, EventLogEntryType.Warning)); in WriteLogEntryWithSource()
175 Assert.Equal(EventLogEntryType.Warning, eventLogEntry.EntryType); in WriteEntryWithType()
294 …s<InvalidEnumArgumentException>(() => eventLog.WriteEntry(message, (EventLogEntryType)7)); // 7 is… in WriteEntryWithInvalidType()
H A DEventLogEntryWrittenTest.cs34 … Helpers.RetryOnWin7(() => eventLog.WriteEntry(message, EventLogEntryType.Information)); in RaisingEvent()
39 eventLog.WriteEntry(message, EventLogEntryType.Information); in RaisingEvent()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Diagnostics.EventLog/tests/
H A DEventInstanceTests.cs22 Assert.Equal(EventLogEntryType.Information, eventInstance.EntryType); in EventInstanceCreation()
38 …EventInstance eventInstance = new EventInstance(instanceId, categoryId, EventLogEntryType.Warning); in EventInstanceCreationWithType()
42 Assert.Equal(EventLogEntryType.Warning, eventInstance.EntryType); in EventInstanceCreationWithType()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel.Internals/System/Runtime/Diagnostics/
H A DEventLogger.cs230 static EventLogEntryType EventLogEntryTypeFromEventType(TraceEventType type) in EventLogEntryTypeFromEventType()
232 EventLogEntryType retval = EventLogEntryType.Information; in EventLogEntryTypeFromEventType()
237 retval = EventLogEntryType.Error; in EventLogEntryTypeFromEventType()
240 retval = EventLogEntryType.Warning; in EventLogEntryTypeFromEventType()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.IdentityModel.Selectors/infocard/Diagnostics/Managed/Microsoft/InfoCards/Diagnostics/
H A DInfocardTrace.cs211 LogEvent(code, null, EventLogEntryType.Information); in Audit()
216 LogEvent(code, message, EventLogEntryType.Information); in Audit()
450 private static void LogEvent(EventCode code, string message, EventLogEntryType type) in LogEvent()
593EventLogEntryType logType = isInformational ? EventLogEntryType.Information : EventLogEntryType.Er… in TraceAndLogException()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.ServiceModel.Internals/
H A DEventLogEntryType.cs44 public enum EventLogEntryType { enum

123