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
fix(consola): Normalize extra keys from consola (#19511)
The JS doc states that extra keys are added as `consola.` log
attributes. However, this is not the case.
Extra keys can be added by, for example, calling the Consola reporter
directly or by calling `consola.[type]({ message: '', ... })`.
Part of this PR (split up for better reviewing):
#18602Closes#19512 (added automatically)
* Allows additional custom properties to be set on the log object.
65
-
* These properties will be captured as log attributes with a 'consola.' prefix.
65
+
* Allows additional custom properties to be set on the log object. These properties will be captured as log attributes.
66
+
*
67
+
* Additional properties are set when passing a single object with a `message` (`consola.[type]({ message: '', ... })`) or if the reporter is called directly
0 commit comments