@Override
    public void append(final LogEvent logEvent) {
        val contextData = new SortedArrayStringMap(logEvent.getContextData());
        collectSourceLocation(logEvent, contextData);
        collectLabels(contextData);
        collectInsertId(contextData);
        collectTraceId(contextData);
        collectHttpRequest(contextData);
        collectTimestamps(logEvent, contextData);
        appendLogEvent(logEvent, contextData);
    }
Build google cloud appender.

@param name           the name
@param projectId      the project id
@param flattenMessage the flatten message
@param appenderRef    the appender ref
@param filter         the filter
@param config         the config
@return the google cloud appender
support/cas-server-support-gcp-logging/src/main/java/org/apereo/cas/logging/GoogleCloudAppender.java