We still really want to do this and are evaluating ways it may be possible with Node 12, but for now unplanned is still the proper status.
—ColbyAndrea Richiardi supported this idea ·
An error occurred while saving the commentAndrea Richiardi commented
Dear Colby, this is really really unfortunately and I hope you will eventually decide to .
The fact that an app should not be concerned with logging is a very important thing to have. It is so important that it shows up in The 12-Factor App Logs section: https://12factor.net/logs.
As you can read there:
> [...] each process’ stream will be captured by the execution environment, collated together with all other streams from the app, and routed to one or more final destinations for viewing and long-term archival. These archival destinations are not visible to or configurable by the app, and instead are completely managed by the execution environment.
In summary, the app should not be concerned about "how" the runtime treats its output.
This is especially true for functions, which are generally more lightweight and should not really carry the burden that fully-fledged applications have. Logging is done to stdout, aggregation is out of band and the function is leaner.
I think probably you are aware of all this, I apologize if that is the case, and I hope you reconsider the decision.