Adding LogTrait back to classes that used to extend Cake\Core\Object.