Binary package “liblog-dispatch-array-perl” in ubuntu xenial

module to log events to an array (reference)

 Log::Dispatch::Array provides a Log::Dispatch log output system that appends
 logged events to an array reference. This is probably only useful for testing
 the logging of your code.