blob: f94183ddc75bb422403b72d5663ea7f5c363e8f8 [file] [log] [blame]
Matt Spinler93ae7e62019-05-29 11:13:48 -05001description: >
2 This interface contains a Create method, which can be implemented
3 to allow creation of xyz.openbmc_project.Logging.Entry objects
4 directly over D-Bus, without needing the errors defined in
5 the *.Error/metadata.yaml files.
6
7methods:
8 - name: Create
9 description: >
10 Create a xyz.openbmc_project.Logging.Entry object.
11 parameters:
12 - name: Message
13 type: string
14 description: >
15 The Message property of the event entry.
16 - name: Severity
17 type: enum[xyz.openbmc_project.Logging.Entry.Level]
18 description: >
19 The Severity property of the event entry.
20 - name: AdditionalData
21 type: dict[string, string]
22 description: >
23 The AdditionalData property of the event entry.
24 e.g.:
25 {
26 "key1": "value1",
27 "key2": "value2"
28 }
29 ends up in AdditionaData like:
30 ["KEY1=value1", "KEY2=value2"]