Add text gradient in log fragment.