* move LoggingAllocator to its own file * style conventions * add documentation * use `anyerror` instead of `error{}` for the stream