What exactly is watchdog?
http://api.drupal.org/api/drupal/includes%21bootstrap.inc/function/watchdog/6 talks about the watchdog() call, and you access the reports it generates from admin/reports/dblog provided that you've turned on the optional Database Logging core module (dblog).