fgm / filog

A fine logger package for Meteor.JS applications (client + server)
GNU General Public License v3.0
18 stars 6 forks source link

Move the user-passed context to a messageDetail sub-key #37

Closed fgm closed 6 years ago

fgm commented 7 years ago

Currently, the user-passed arguments are root properties in the context object ; this makes it to get to them and only them, separated from the keys added by the default processors.

To address this while maintaining the ability of processors to add on the full context object, including the value of these arguments, they will be moved wthin a messageDetails root property.

None of the default processors modify the arguments, but custom-written processors could do so, and will need to be updated for this new format.

fgm commented 6 years ago

This was merged in #38 part of v0.1.15.