Currently, g_log_writer_format_fields() doesn't recognize "CODE_FILE", "CODE_LINE", and "CODE_FUNC". These data supplied by g_debug() macro but g_log_writer_format_fields() ignores them. This patch add parsing for those fields and add them to the outgoing message.
This patch was prepared with the assumption that all three parameters should be given. This is what we have right now for g_debug(). We can also add only available parameters, e.g. CODE_FILE CODE_LINE but not a CODE_FUNC.