Adriana Kobylak | 88eb109 | 2016-11-07 12:17:23 -0600 | [diff] [blame] | 1 | description: > |
| 2 | Implement to provide event/error logging management features. |
| 3 | This interface should be instantiated for the phosphor::logging namespace, |
| 4 | and only one is required. |
| 5 | methods: |
| 6 | - name: Commit |
| 7 | description: > |
| 8 | Write the requested error/event entry with its associated metadata |
Deepak Kodihalli | 6fd9dc4 | 2018-04-03 02:08:42 -0500 | [diff] [blame] | 9 | fields to flash. The "level" of the committed error log is same as the |
| 10 | level defined in error YAML definitions. |
Adriana Kobylak | 88eb109 | 2016-11-07 12:17:23 -0600 | [diff] [blame] | 11 | parameters: |
| 12 | - 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 |
| 20 | event log to be committed. |
Deepak Kodihalli | 6fd9dc4 | 2018-04-03 02:08:42 -0500 | [diff] [blame] | 21 | - name: CommitWithLvl |
| 22 | description: > |
| 23 | Write the requested error/event entry with its associated metadata |
| 24 | fields to flash. This interface allows the caller to override the |
| 25 | error level specified in the error YAML definition. |
| 26 | parameters: |
| 27 | - name: transactionId |
| 28 | type: uint64 |
| 29 | description: > |
| 30 | The unique identifier of the journal entry(ies) to be committed. |
| 31 | - name: errMsg |
| 32 | type: string |
| 33 | description: > |
| 34 | The error exception message associated with the error |
| 35 | event log to be committed. |
| 36 | - name: errLvl |
| 37 | type: uint32 |
| 38 | description: > |
| 39 | The error level/severity indicator. |