The reportEvent method of the EventLog Class contains the following signatures:
reportEvent(short type, short cat, int id, String[] msg,byte[] data)
reportEvent(short type, short cat, int id, String msg, byte[] data)
reportEvent(short type, short cat, int id, String[] msgs)
reportEvent(short type, short cat, int id, String msg)
reportEvent(short type, short cat, int id)
Writes an entry at the end of the event log, providing associated strings and binary data.
public void reportEvent(short type, short cat, int id, String[] msg, byte[] data);
type | The type of event being logged. The parameter can be one of the following types: |
cat | The event category. This is source-specific information; the category can have any value. |
id | The event identifier, which specifies the message that goes with this event as an entry in the message file associated with the event source. |
msgs | An array of strings that are merged into the message before the message is displayed to the user. |
data | The binary data associated with the report. |
Writes an entry at the end of the event log, providing an associated string and binary data.
public void reportEvent (short type, short cat, int id, String msg, byte[] data);
type | The type of event being logged. The parameter can be one of the following types: |
cat | The event category. This is source-specific information; the category can have any value. |
id | The event identifier, specifies the message that goes with this event as an entry in the message file associated with the event source. |
msg | A string that is merged into the message before the message is displayed to the user. |
data | The binary data associated with the report. |
Writes an entry at the end of the event log, providing associated strings.
public void reportEvent(short type, short cat, int id, String[] msgs);
type | The type of event being logged. The parameter can be one of the following types: |
cat | The event category. This is source-specific information; the category can have any value. |
id | The event identifier, which specifies the message that goes with this event as an entry in the message file associated with the event source. |
msgs | An array of strings that are merged into the message before the message is displayed to the user. |
Writes an entry at the end of the event log, providing an associated string.
public void reportEvent(short type, short cat, int id, String msg);
type | The type of event being logged. The parameter can be one of the following types: |
cat | The event category. This is source-specific information; the category can have any value. |
id | The event identifier, which specifies the message that goes with this event as an entry in the message file associated with the event source. |
msgs | A string that is merged into the message before the message is displayed to the user. |
Writes an entry at the end of the event log.
public void reportEvent(short type, short cat, int id);
type | The type of event being logged. The parameter can be one of the following types: |
cat | The event category. This is source-specific information; the category can have any value. |
id | The event identifier, which specifies the message that goes with this event as an entry in the message file associated with the event source. |