only display event code in toString as the Event Viewer does
This commit is contained in:
parent
e86a150a8d
commit
035a097325
|
@ -192,7 +192,7 @@ public class EventLogRecord {
|
||||||
"[" + new Date(getTimeGenerated() * 1000) + "] " +
|
"[" + new Date(getTimeGenerated() * 1000) + "] " +
|
||||||
"[" + getSource() + "] " +
|
"[" + getSource() + "] " +
|
||||||
"[" + getCategoryString() + "] " +
|
"[" + getCategoryString() + "] " +
|
||||||
"[" + getEventId() + "] " +
|
"[" + (getEventId() & 0xFFFF) + "] " +
|
||||||
"[" + getUserString() + "] " +
|
"[" + getUserString() + "] " +
|
||||||
"[" + getComputerName() + "] " +
|
"[" + getComputerName() + "] " +
|
||||||
getMessage();
|
getMessage();
|
||||||
|
|
Loading…
Reference in New Issue