Skip to content

systemd::journal doesn't return Result #304

Description

@cglong

We were looking at using systemd::journal for sending messages to journald, but noticed all the functions either return a c_int or nothing at all. Given the c_int values aren't well-defined in the docs, we essentially have no way of knowing whether the message was successfully sent or not.

Could these functions be updated to instead return a Result or, less ideally, could the docs be updated to include details on how to interpret the c_ints? Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions