common: Enable log system

Use export LIBYAMI_LOG_LEVEL=log_level to set the control flag, export LIBYAMI_TRACE=log_file to set the file location

Signed-off-by: Tang Xin <xin.t.tang@intel.com>
1. YAMI_LOG  maybe good.
2. do not define function, micro is enough.Just redirect it to fprintf