GLogWriterFunc

Writer function for log entries. A log entry is a collection of one or more #GLogFields, using the standard [field names from journal specification](https://www.freedesktop.org/software/systemd/man/systemd.journal-fields.html). See g_log_structured() for more information.

Writer functions must ignore fields which they do not recognise, unless they can write arbitrary binary output, as field values may be arbitrary binary.

@log_level is guaranteed to be included in @fields as the PRIORITY field, but is provided separately for convenience of deciding whether or where to output the log entry.

alias GLogWriterFunc = GLogWriterOutput function(GLogLevelFlags logLevel, GLogField* fields, size_t nFields, void* userData)

Meta

Since

2.50