Fix incorrect logger method name.
Fix incorrect logger method name.

Refs #9689

ndm2/cakephp,CakeDC/cakephp,garethellis36/cakephp,cakephp-fr/cakephp,dakota/cakephp,berrygoudswaard/cakephp,cakephp/cakephp,cakephp/cakephp,berrygoudswaard/cakephp,cakephp-fr/cakephp,tenkoma/cakephp,davidyell/cakephp,mvdriel/cakephp,ndm2/cakephp,CakeDC/cakephp,davidyell/cakephp,petteyg/cakephp,ndm2/cakephp,cakephp/cakephp,ADmad/cakephp,cakephp-fr/cakephp,davidyell/cakephp,dakota/cakephp,CakeDC/cakephp,tenkoma/cakephp,thinkingmedia/cakephp,garethellis36/cakephp,CakeDC/cakephp,berrygoudswaard/cakephp,dakota/cakephp,cakephp/cakephp,thinkingmedia/cakephp,tenkoma/cakephp,elboletaire/cakephp,petteyg/cakephp,ADmad/cakephp,mvdriel/cakephp,mvdriel/cakephp,thinkingmedia/cakephp,tenkoma/cakephp,ADmad/cakephp,mvdriel/cakephp,garethellis36/cakephp,petteyg/cakephp,elboletaire/cakephp,ADmad/cakephp,dakota/cakephp,elboletaire/cakephp,ndm2/cakephp,petteyg/cakephp,garethellis36/cakephp