On Mar 31, 11:12 am, "AD7six" <[EMAIL PROTECTED]> wrote:
> On Mar 31, 11:02 am, "ianh" <[EMAIL PROTECTED]> wrote:
>
> > I don't think there is any way to make Cake do detailed logs of errors
> > internal to the framework.
>
> O contrare. Make use of the app_error class, and you can do what you
> like. If you have one and it's in the right place (or you include it
> manually) it handles all your error processing. here's a (very simple)
> example:
>
> if (!class_exists('AppError')) {
> uses('error');
> class AppError extends ErrorHandler {
>
>         function error($params) {
>                 print_r($params);
>         }
>
>         function error404($params) {
>                 print_r($params);
>         }
>
> }
> }
>
> HTH,
>
> AD

For further comment. http://www.noswad.me.uk/MiBlog/EmailMeErrors

Cheers,

AD


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to