Extracted from Pike v8.0 release 240 as of 2016-05-31.
   

Method Pike.Watchdog()->add_debug()


Method add_debug

void add_debug(function(void:void) f)

Description

The function f will be called if the watchdog triggers, before the normal watchdog output is written.