277.

Which of the following is used to write error messages in the event log file

We write error logs in ASP.NET to eventlogs using System.Diagnostics NameSpace