Rather than more bespoke "logging" handling such as proposed in https://github.com/vkottler/runtimepy/issues/215 / https://github.com/vkottler/runtimepy/issues/216, something more ubiquitous for the production environment would be to implement a struct that can be easily extended / manifested+configured (a la "out of the box" / "batteries included" product) to log file contents in real time.
Rather than more bespoke "logging" handling such as proposed in https://github.com/vkottler/runtimepy/issues/215 / https://github.com/vkottler/runtimepy/issues/216, something more ubiquitous for the production environment would be to implement a struct that can be easily extended / manifested+configured (a la "out of the box" / "batteries included" product) to log file contents in real time.