add trace to the list of console functions