Matteo Collina

Results 2948 comments of Matteo Collina
trafficstars

By looking at https://github.com/rogerc/file-stream-rotator/blob/2b41e6a9a6447394999a4ea03a695d8398238969/FileStreamRotator.js#L540, it looks like this module does not return a stream but an event emitter. I think part of the problem is that the file-stream-rotator is not...

I would use https://github.com/pinojs/sonic-boom#sonicboomreopenfile to open the new file. This will make sure there are no lost log lines.

Could you add it to per known trabsports in the docs @feugy ?

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...

Can you provide steps to reproduce? We often need a reproducible example, e.g. some code that allows someone else to recreate your problem by just copying and pasting it. If...

You could do something like: ```js const raw_message = 'hello %s' logger.info({ raw_message }, raw_message, 'world') ``` Unfortunately this is not something that can easily work from the hooks.

I don't think this is supported but a PR to quick-format-unescaped could add this capability.

> In particular, the fact that you're supposed to use the exported format function directly, and not have a generator that returns the format function that will eventually be used,...