Top | ![]() |
![]() |
![]() |
![]() |
const gchar * | snapd_log_get_message () |
const gchar * | snapd_log_get_pid () |
const gchar * | snapd_log_get_sid () |
GDateTime * | snapd_log_get_timestamp () |
A SnapdLog contains a line from a log for a snap service as returned using snapd_client_get_logs_sync()
.
const gchar *
snapd_log_get_message (SnapdLog *log
);
Get the message of this log, e.g. "service started"
Since: 1.64
const gchar *
snapd_log_get_pid (SnapdLog *log
);
Get the process ID of this log, e.g. "1234"
Since: 1.64
const gchar *
snapd_log_get_sid (SnapdLog *log
);
Get the syslog id of this log, e.g. "cups.cups-browsed"
Since: 1.64
“message”
property “message” char *
Message.
Owner: SnapdLog
Flags: Read / Write / Construct Only
Default value: NULL
“pid”
property “pid” char *
Process ID.
Owner: SnapdLog
Flags: Read / Write / Construct Only
Default value: NULL
“sid”
property “sid” char *
Syslog ID.
Owner: SnapdLog
Flags: Read / Write / Construct Only
Default value: NULL