Added PHPDoc and swapped parameters of function watchdog_add().