Writing custom metrics to simulation.log

Hi,

I would like to write custom metrics to simulation.log file. Is there any DSL in gatling 3.5.0 to write custom metrics something like this

writeRequestData(session, requestType, request.start, end, request.start, end, OK)

/Mahesh