Function Connection.setNoticeProcessor

Sets or examines the current notice processor

extern(C) void setNoticeProcessor (
  nothrow @nogc extern(C) void function(void*, char*) proc,
  void* arg
) nothrow @nogc;

Returns the previous notice receiver or processor function pointer, and sets the new value. If you supply a null function pointer, no action is taken, but the current pointer is returned.