2 ms·
Having said that, I know of at least two legitimate use cases for allowing arbitrary logging targets, both because of annoying limitations of the hosting enviro
by wizofaus 4y ago
Having said that, I know of at least two legitimate use cases for allowing arbitrary logging targets, both because of annoying limitations of the hosting environment. One being certain unit testing frameworks (e.g. Xunit in the .NET world requires you write to a custom destination for log messages to be captured by the test runner) and the other being AWS lambdas - where you don't even have the option of a separate process reading the log files for further processing. Ideally it would always be sufficient just to write to stdout or stderr.