use $data.Trace.log() instead of console.log()