fn loggingAllocator(parent_allocator: Allocator) LoggingAllocator(.debug, .err)

This allocator is used in front of another allocator and logs to std.log on every call to the allocator. For logging to a std.io.Writer see std.heap.LogToWriterAllocator

Parameters

parent_allocator: Allocator,