Use Android log write instead of log format to suppress compiler warning