blob: 92b7faa50bf764cf1788b4eb1143ee29ddd3a2b1 [file] [log] [blame]
Adriana Kobylak88eb1092016-11-07 12:17:23 -06001description: >
Patrick Williams26919f02022-12-08 06:12:43 -06002 Implement to provide event/error logging management features. This interface
3 should be instantiated for the phosphor::logging namespace, and only one is
4 required.
Adriana Kobylak88eb1092016-11-07 12:17:23 -06005methods:
6 - name: Commit
7 description: >
8 Write the requested error/event entry with its associated metadata
Deepak Kodihalli6fd9dc42018-04-03 02:08:42 -05009 fields to flash. The "level" of the committed error log is same as the
10 level defined in error YAML definitions.
Adriana Kobylak88eb1092016-11-07 12:17:23 -060011 parameters:
Patrick Williams26919f02022-12-08 06:12:43 -060012 - name: transactionId
13 type: uint64
14 description: >
15 The unique identifier of the journal entry(ies) to be committed.
16 - name: errMsg
17 type: string
18 description: >
19 The error exception message associated with the error event log
20 to be committed.
Lei YUb50c7052021-01-21 16:02:26 +080021 returns:
Patrick Williams26919f02022-12-08 06:12:43 -060022 - name: entryID
23 type: uint32
24 description: >
25 The ID of the entry.
Deepak Kodihalli6fd9dc42018-04-03 02:08:42 -050026 - name: CommitWithLvl
27 description: >
28 Write the requested error/event entry with its associated metadata
29 fields to flash. This interface allows the caller to override the
30 error level specified in the error YAML definition.
31 parameters:
Patrick Williams26919f02022-12-08 06:12:43 -060032 - name: transactionId
33 type: uint64
34 description: >
35 The unique identifier of the journal entry(ies) to be committed.
36 - name: errMsg
37 type: string
38 description: >
39 The error exception message associated with the error event log
40 to be committed.
41 - name: errLvl
42 type: uint32
43 description: >
44 The error level/severity indicator.
Lei YUb50c7052021-01-21 16:02:26 +080045 returns:
Patrick Williams26919f02022-12-08 06:12:43 -060046 - name: entryID
47 type: uint32
48 description: >
49 The ID of the entry.