You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project is handler middleware which extracts a configurable number of attrs from the record, and prints them as header fields before the message: https://github.com/dpotapov/slogpfx
I thought that was a clever idea, but would be more efficient to implement natively. I have a branch of console-slog which supports this type of function natively. In the following example, I configured the "logger" attr to be removed from the attr list, and inserted before the message as a header. (the value of "logger" is "console-slog" in this example...)
What do you think of this? Would this be a PR you would consider?
The text was updated successfully, but these errors were encountered:
This project is handler middleware which extracts a configurable number of attrs from the record, and prints them as header fields before the message: https://github.com/dpotapov/slogpfx
I thought that was a clever idea, but would be more efficient to implement natively. I have a branch of console-slog which supports this type of function natively. In the following example, I configured the "logger" attr to be removed from the attr list, and inserted before the message as a header. (the value of "logger" is "console-slog" in this example...)
What do you think of this? Would this be a PR you would consider?
The text was updated successfully, but these errors were encountered: