Open tasdflkjweio opened 2 years ago
Unfortunately we need levels to be a number for multistream to work. Essentially the level formatter is incompatible with transports. We need to throw a better error.
I would love to have some code that implements it, however I do not think it's possible.
Is there another way to achieve this same result?
Ran into the same thing. Is there a way to add level as string when using multiple transports? Also why is it not possible?
Same here, are there any updates on this?
Similar behavior in v9, but instead of ignoring configuration options, both of the transports just fail. Only using one transport in the targets array or removing the log level formatter bypasses this. The latter is doable but not ideal.
This is a geniuane issue that is causing a bit of frustration especially that the failure is silent....
Even without a custom formatter the issue ocurs
The formatter and timestamp are disregarded when using the following configuration:
I still see the log level number (rather than label) and epoch time in ms. If I use just one of the transports (i.e., not the array syntax), it works as expected.