device: add logging macro _LOGT()