dlog_setEntryType
Purpose
Returns the entry type for a given diagnostic log identifier.
Syntax
#include <diag/diag_log.h>
int dlog_setEntryType(char *id)
Description
The dlog_setEntryType subroutine returns an entry type for the specified entry identifier. The following entry types are defined:
| Entry Type | Description |
|---|---|
| INFO | Informational Type |
| NTF | No Trouble Found |
| ERR | Error |
| SRN | Srn Callout |
| EXER | Exerciser Error |
| SA | Service Aid |
Parameters
| Parameter | Description |
|---|---|
| id | entry identifier |
Return Value
Upon successful completion, the entry type is returned. Otherwise, a value of -1 is returned.