void g_log_structured_array ( GLogLevelFlags log_level, const GLogField* fields, gsize n_fields )
Log a message with structured data. The message will be passed through to the
log writer set by the application using g_log_set_writer_func(). If the
message is fatal (i.e. its log level is
G_LOG_LEVEL_ERROR), the program will
be aborted at the end of this function.
g_log_structured() for more documentation.
This assumes that
log_level is already present in
fields (typically as the
Available since: 2.50
Log level, either from
GLogLevelFlags, or a user-defined level.
Type: An array of
Key–value pairs of structured data to add to the log message.
The length of the array is specified in the
The data is owned by the caller of the function.
Number of elements in the