6 instantiations of EventLog
Microsoft.Extensions.Logging.EventLog (2)
System.Diagnostics.EventLog (3)
System.ServiceProcess.ServiceController (1)
25 references to EventLog
Microsoft.Extensions.Logging.EventLog (2)
System (1)
System.Diagnostics.EventLog (20)
System\Diagnostics\EventLogInternal.cs (10)
55private readonly EventLog? parent;
105public EventLogInternal(string logName, string machineName, string source, EventLog? parent)
229logName = EventLog._InternalLogNameFromSourceName(sourceName, currentMachineName);
689msg = EventLog.TryFormatMessage(hModule, messageNum, insertionStrings);
1063if (!EventLog.Exists(logname, currentMachineName)) // do not open non-existing Log [alexvec]
1251if (!EventLog.SourceExists(sourceName, currentMachineName, true))
1258if (!EventLog.SourceExists(sourceName, currentMachineName, true))
1264EventLog.CreateEventSource(new EventSourceCreationData(sourceName, GetLogName(currentMachineName), currentMachineName));
1274string rightLogName = EventLog.LogNameFromSourceName(sourceName, currentMachineName);
1291string rightLogName = EventLog._InternalLogNameFromSourceName(sourceName, currentMachineName);
System.ServiceProcess.ServiceController (2)