protected void LogEvent(string message, EventLogEntryType entryType)
{
if (!EventLog.SourceExists("ThePhile.COM"))
{
EventLog.CreateEventSource("ThePhile.COM", "Application");
}
EventLog.WriteEntry("ThePhile.COM", message, entryType);
}
posted @ 2004-11-11 16:25 Hover 阅读(913) 评论(2) 编辑
