Logging of arrays