enable_dump_signal(
format)
Enable SIGUSR1 task dump handler
Registers a SIGUSR1 handler that calls task_dump() and outputs the
result. Supports "text" (default) and "json" formats. Uses the
injected logger if set, otherwise stderr. Safe because signal handlers
in LEV run via signalfd dispatch (not async-signal context).