fn logToWriterAllocator(parent_allocator: Allocator, writer: anytype) LogToWriterAllocator(@TypeOf(writer))

This allocator is used in front of another allocator and logs to the provided writer on every call to the allocator. Writer errors are ignored.

Parameters

parent_allocator: Allocator,
writer: anytype,