create_tracelog function

Create a tracelog object