only display event code in toString as the Event Viewer does

This commit is contained in:
Doug MacEachern 2009-11-09 16:45:06 -08:00
parent e86a150a8d
commit 035a097325
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ public class EventLogRecord {
"[" + new Date(getTimeGenerated() * 1000) + "] " +
"[" + getSource() + "] " +
"[" + getCategoryString() + "] " +
"[" + getEventId() + "] " +
"[" + (getEventId() & 0xFFFF) + "] " +
"[" + getUserString() + "] " +
"[" + getComputerName() + "] " +
getMessage();