技術をかじる猫

適当に気になった技術や言語、思ったこと考えた事など。

2010-06-10から1日間の記事一覧

EventLog 書き込む

色々試してみた。 class Program { static void Main(string[] args) { string source = "MySource"; if (!EventLog.SourceExists(source)) { EventLog.CreateEventSource(source, ""); } EventLog.WriteEntry(source, "SampleMessage", EventLogEntryType.I…