Azure / Azure/azure-functions-host

Add ability to pipe output for loggers like pino in NodeJs

Open
#4,812 4 comments 0 reactions 1 assignee Claimed by @mhoeger View on GitHub
enhancement
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 12h
Merged PRs (30d)
38

Description

According to C# documentation, it is possible to inject on ILogger therefore we can specify our logger like NLog or etc.

However, in NodeJs there is no way to inject it, furthermore, if I want to use pino, I can't because I can't inject the following syntax at startup.
node index.js | pino-papertrail xxxx

Any help here?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.