How to log request/response in a specific customized format in api gateway?

I am using Software AG API Gateway 10.11 with a commercial license.

Is there a way to log the request and response in a specific customized format through the log invocation policy.

Thanks

This requires custom extension, This also depends on the destination.
If logging is required into API gateway, this cannot be customized since it is indexed for the default format.