blob: 22e316fbd2843ff1c59f2975b0467ba250c66b23 [file] [log] [blame]
description: >
Interface to create new e-mail destinations for syslog.
methods:
- name: Create
description: >
This method creates a new D-Bus object representing the destination
for which e-mails would be sent for all syslog messages with matching
or lower (meaning more important) level.
parameters:
- name: Mailto
type: string
description: >
Specifies the mailto:// URI (RFC6068) to send events to.
- name: Level
type: enum[xyz.openbmc_project.Logging.Entry.Level]
description: >
Specifies the maximum level for the log events to be sent.
returns:
- name: Path
type: object_path
description: >
The object path of the created
xyz.openbmc_project.Logging.Syslog.Destination.Mail.Entry.
errors:
- xyz.openbmc_project.Common.Error.InternalFailure
- xyz.openbmc_project.Common.Error.InvalidArgument