Источник:
http://DAX-Lessons.spaces.live.com/B...FCD1!142.entry
==============
This tiny helper function creates the entry and closes it. The "source" argument is the name of your application
X++:
static void writeEntry_EventLog(Args _args)
{
System.Diagnostics.EventLog oEV = newSystem.Diagnostics.EventLog();
;
oEV.set_Source('Dynamics AX');
oEV.WriteEntry("This is just aninformation from Dynamics AX");
oEV.Close();
}

Источник:
http://DAX-Lessons.spaces.live.com/B...FCD1!142.entry