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
Is the absence of this feature blocking you or your team? If so, how?
In our case, we are using the Elastic Common Schema which recommends meta fields to go under the label object but we can't make child logger with additional metadata due to the shallow merge. Reference to ECS: link
Is this feature similar to an existing feature in another tool?
Not sure.
Is this a feature you're prepared to implement, with support from us?
Yes.
The text was updated successfully, but these errors were encountered:
Please tell us about your environment:
winston
version?winston@2
winston@3
What is the problem?
Merging meta objects is not working because of
Object.assign
which is a shallow merge.What do you expect to happen instead?
Example code:
Current Output
Expected Output
What's the feature?
Deep merge meta objects using
lodash.merge
Is the absence of this feature blocking you or your team? If so, how?
In our case, we are using the
Elastic Common Schema
which recommends meta fields to go under the label object but we can't make child logger with additional metadata due to the shallow merge. Reference to ECS: linkIs this feature similar to an existing feature in another tool?
Not sure.
Is this a feature you're prepared to implement, with support from us?
Yes.
The text was updated successfully, but these errors were encountered: