log level, either from GLib.LogLevelFlags, or a user-defined level
key–value pairs of structured data forming the log message
Optionaluser_data: anyuser data passed to GLib.log_set_writer_func
GLib.LogWriterOutput.HANDLED on success, GLib.LogWriterOutput.UNHANDLED otherwise
Format a structured log message and send it to the systemd journal as a set of key–value pairs.
All fields are sent to the journal, but if a field has length zero (indicating program-specific data) then only its key will be sent.
This is suitable for use as a GLib.LogWriterFunc.
If GLib has been compiled without systemd support, this function is still defined, but will always return GLib.LogWriterOutput.UNHANDLED.