use WelsLog instead of fprintf to have a unified trace output