Closed garatortiz closed 6 years ago
Can we keep the old format for console messages?
<UTC-time> [<module>] (<request ID if present>) <message>
e.g.
2018-02-28T14:12:32.370Z [response] (ID=XDihcS) {"ok":true,"result":{"wallet":"0xdbde11e51b9fcc9c455de9af89729cf37d835156","params":{"confirmation_code_plain":"b398sxtttt9"},"v":28,"r":"0xf87e4781987487ca89b4b55765d625d6b2fb036135e09c4a0cca414d32ab0072","s":"0x396a54497c20fb5e4590bc04c42e316230d13aa7f23667d921e0d4b257d943d5"},"x_id":"XDihcS"}
What is it? (leave one option)
(Improvement)
proposal (i.e. some existing feature can be improved)What problem have you encountered (provide steps to reproduce if possible) / What feature are you talking about? The currently logger can not have multiples transports configured at different levels.
What is expected behaviour / What is proposed feature? Winston is designed to be a simple and universal logging library with support for multiple transports and multiples levels.
Additional information