console log decorator for trace