Use flexbox to deal with the logger text