I have a CakePHP application that uses a number of provider classes, including one for email processing. We are having problems with missing email messages, so we want to add a log message every time an email is sent. The obvious place for this is the email class submission function, but the $ this-> log does not work because the provider object is not built on CakePHP.
Is there anyway access to the CakePHP logging system from a class other than CakePHP?
Thanks in advance
source
share