Forums / Developer / NuSoap-debugging? / Comment47805

Author Topic

Bruce Morrison

Tuesday 20 February 2007 3:48:43 pm

Comment47805

Hi Nicklas

krackers messages shows how you can write to your oen log file.

Howevere if you want to create eZ debug messages you should use the eZDebug class:
http://pubsvn.ez.no/doxygen/classeZDebug.html

The simplest way to use it is

eZDebug::writeDebug( "This should never happen" );

No need to include lib/ezutils/classes/ezdebug.php as it's included for all requests in index.php

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish