private void logFunctionLifeCycleEvent()

in services/library/src/main/java/com/google/cloud/pso/bq_snapshot_manager/helpers/LoggingHelper.java [197:219]


    private void logFunctionLifeCycleEvent(String trackingId, @Nullable TableSpec tableSpec, FunctionLifeCycleEvent event) {

        Object [] attributes = new Object[]{
                kv("function_lifecycle_event", event),
                kv("function_lifecycle_functionNumber", functionNumber),
        };

        logWithTracker(
                ApplicationLog.TRACKER_LOG,
                null,
                trackingId,
                tableSpec,
                String.format("%s | %s | %s | %s",
                        loggerName,
                        functionNumber,
                        event,
                        tableSpec == null? null: tableSpec.toSqlString()
                        ),
                Level.INFO,
                attributes
        );

    }