I would really be interested to know how to set the private property
_outputformat of the debugger.
When doing a lot of ajax stuff, it would be nice to send debugging
info to the log file instead of the browser. It usually doesn't fit in
the layout (small divs for example), rendering it mostly unreadable /
unaccessible.

In this line: http://api.cakephp.org/view_source/debugger/#l-492 the
debuggers' output is routed to 'html'. According to cases of the
switch statement, other valid values for _outputformat could be:
'js','text'/'txt' or 'log'.

Mmmm.... when carefully inspecting the switch structure, it looks like
the value of _outputformat is ignored, since the first expression is
'default' followed by 'js'. All other cases will be ignored
independent of the value of _outputformat.

Is this a bug or a creative way to disable all but the 'js' option?

Cheers,

Bram

ps: see also:
http://groups.google.com/group/cake-php/browse_thread/thread/33a060378621b83c/05dfde6ad7ebfed2?hl=en&lnk=gst&q=debug+output+to+log#05dfde6ad7ebfed2

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
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