System.Diagnostics is the namespace that contains classes for working with Event Log, including the EventLog and EventLogEntry classes. System.IO handles file I/O, System.Data handles database access, and System.DirectoryServices handles directory services.